Как Сделать Вот Такую Всплывающую Корзину?
#61
Отправлено 13 Май 2014 - 19:39
#62
Отправлено 13 Май 2014 - 19:58
Mari-ina (13 Май 2014 - 19:39) писал:
#float-cart { background-color: #FF3A28; border-bottom: 1px solid #009900; border-radius: 0 0 15px 15px; box-shadow: 3px 3px 15px rgba(1, 3, 1, 0.75); color: #FFFFFF; display: none; font: 10pt arial,helvetics,sens-serif; left: 50%; margin: 0 auto 0 -500px; opacity: 0.8; padding: 10px 0; position: fixed; top: 0; width: 1000px; z-index: 10000; font:10pt arial, helvetics, sens-serif; border-bottom:1px solid #009900; border-radius:0px 0px 15px 15px; -moz-border-radius:0px 0px 15px 15px; -webkit-border-bottom-right-radius:15px;-webkit-border-bottom-left-radius:15px; box-shadow: 3px 3px 15px rgba(1, 3, 1, 0.75); filter:alpha(opacity=80); -moz-opacity: 0.8; opacity: 0.8; -khtml-opacity: 0.8; behavior: url(http://design.xn----7sbahxjlc3aa3b.xn--p1ai/PIE.htc); }заменяем на
#float-cart { background-color: #FF3A28; border-bottom: 1px solid #009900; border-radius: 0 0 15px 15px; box-shadow: 3px 3px 15px rgba(1, 3, 1, 0.75); color: #FFFFFF; display: none; font: 10pt arial,helvetics,sens-serif; left: 50%; margin: 0 auto 0 -500px; opacity: 0.8; padding: 10px 0; position: fixed; margin-left: 450px; top: 0; width: 1000px; z-index: 10000; font:10pt arial, helvetics, sens-serif; border-bottom:1px solid #009900; border-radius:0px 0px 15px 15px; -moz-border-radius:0px 0px 15px 15px; -webkit-border-bottom-right-radius:15px;-webkit-border-bottom-left-radius:15px; box-shadow: 3px 3px 15px rgba(1, 3, 1, 0.75); filter:alpha(opacity=80); -moz-opacity: 0.8; opacity: 0.8; -khtml-opacity: 0.8; behavior: url(http://design.xn----7sbahxjlc3aa3b.xn--p1ai/PIE.htc); }меняя значение background-color: #FF3A28; меняете цвет
#63
Отправлено 13 Май 2014 - 20:35
#64
Отправлено 13 Май 2014 - 23:02
найдите эту строчку кода
#float-cart { background-color: #3CAA3C; border-bottom: 1px solid #009900; border-radius: 0 0 15px 15px; box-shadow: 3px 3px 15px rgba(1, 3, 1, 0.75); color: #FFFFFF; display: none; font: 10pt arial,helvetics,sens-serif; margin-left: 132px; opacity: 0.8; padding: 10px 0; position: fixed; top: 0; width: 1000px; z-index: 10000; }как и писал модератор выше - вот это меняйте: background-color: #3CAA3C;
#65
Отправлено 14 Май 2014 - 08:06
SL-291648
#67
Отправлено 14 Май 2014 - 12:50
#68
Отправлено 14 Май 2014 - 14:04
Mari-ina (14 Май 2014 - 12:50) писал:
#float-cart { background-color: #3CAA3C; border-bottom: 1px solid #009900; border-radius: 0 0 15px 15px; box-shadow: 3px 3px 15px rgba(1, 3, 1, 0.75); color: #FFFFFF; display: none; font: 10pt arial,helvetics,sens-serif; margin-left: 132px; opacity: 0.8; padding: 10px 0; position: fixed; top: 0; width: 1000px; z-index: 10000; }поменяйте цвет background-color: #3CAA3C;
меняете значение margin-left: меняете отступ от края
#69
Отправлено 21 Май 2014 - 21:48
#70
Отправлено 22 Май 2014 - 01:41
#back-top { margin-left: 890px; position: fixed; top: 10px; }замените на:
#back-top { bottom: 10px; opacity: 0.5; position: fixed; right: 0; }
#71
Отправлено 22 Май 2014 - 21:18
#72
Отправлено 20 Июнь 2014 - 19:23
Есть ли возможность перенести элемент корзины из шаблона "Весна", в область шапки шаблона "Мокко" (вровень горизонтальному меню)? Чтобы отображалась та же анимация при наведении (поворот изображения корзины)?
Аккаунт SL-298388
#73
Отправлено 21 Июнь 2014 - 00:05
<!-- Корзина --> <div id="cartInfo"> <a href="{CART_URL}">в корзине товаров на</a>: <span id="cartSum"> {% IF cart_count_empty %} <span class="red">0</span> {CURRENCY_NAME} {% ELSE %} {% FOR cart_sum %} <span>{cart_sum.NOW_WITH_DISCOUNT | money_format}</span><br /> {% ENDFOR %} {% ENDIF %} </span> </div> <!-- end Корзина -->вставьте:
<div id="cart"> <div class="heading"> <h4>Корзина покупок</h4> <a href="{CART_URL}" title="Перейти в корзину"><span class="cart_circle"></span><span id="cart-total">Покупок {% IF cart_count_empty %} <span class="red">0</span> {% ELSE %} {CART_COUNT_TOTAL} {% ENDIF %} - на сумму {% IF cart_count_empty %} <span>0</span> {CURRENCY_NAME} {% ELSE %} {% FOR cart_sum %} {cart_sum.NOW | money_format}<br /> {% ENDFOR %} {% ENDIF %}</span> </a> </div> <div class="content"> <div class="empty">Ваша корзина покупок пуста!</div> </div> <div class="clear"></div> </div> <!-- end Корзина -->
в конец main.css добавьте:
#header #cart {z-index: 20;min-width: 300px;top:3px;right:20px;} #header #cart .cart_circle {display:block;width:36px;height:36px;background:url('{ASSETS_IMAGES_PATH}cart_circle.png') 50% 50% no-repeat;background-color:#ff0551;-webkit-border-radius: 50%;-moz-border-radius: 50%;-khtml-border-radius: 50%;-ms-border-radius: 50%;border-radius: 50%;position:absolute;top:3px;right:0;transition: all 0.5s ease 0s;-webkit-transition: all 0.5s ease 0s;-ms-transition: all 0.5s ease 0s;-moz-transition: all 0.5s ease 0s;-o-transition: all 0.5s ease 0s;cursor:pointer;} #header #cart .heading:hover .cart_circle {transform:rotate(360deg);-ms-transform:rotate(360deg);-moz-transform:rotate(360deg);-webkit-transform:rotate(360deg); -o-transform:rotate(360deg);} #header #cart .heading {float: right;margin-top: 15px;padding-left: 14px;padding-right: 46px;position: relative;z-index: 1;} #header #cart .heading h4 {color: #333333;font-size: 15px;font-weight: bold;margin-top: 0px;margin-bottom: 3px;text-align:right;} #header #cart .heading a {text-decoration: none;} #header #cart .content {clear: both;display: none;position: relative;top: -1px;padding: 8px;min-height: 150px;background: #FFF;border-bottom:5px solid #ff0551;box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.2); -moz-box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.2);-webkit-box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.2);-webkit-border-radius:0 0 5px 5px;-moz-border-radius:0 0 5px 5px;-khtml-border-radius:0 0 5px 5px;border-radius:0 0 5px 5px;} #header #cart.active .heading {padding-bottom: 6px;} #header #cart.active .content {display: block;} #header #cart .empty {padding-top: 50px;text-align: center;}
и в редактор шаблонов загрузите иконку значка корзины с названием cart_circle.png cart_circle.zip 1,11К 56 Количество загрузок:
#74
Отправлено 01 Август 2014 - 19:51
В корзине товаров ... шт на сумму ...рублей?
2) И ещё глюк появился, корзина появляется сразу сверху, как заходишь на сайт, как убрать?
http://dochkam-sinochkam.ru/
#75
Отправлено 02 Август 2014 - 03:22
2.В шаблоне HTML найдите:
<div id="float-cart" class="cartInfo" style="display: block;height: 40px;">замените на:
<div id="float-cart" class="cartInfo" style="height: 40px;">
#76
Отправлено 02 Август 2014 - 20:13
Vaccina (02 Август 2014 - 03:22) писал:
2.В шаблоне HTML найдите:
<div id="float-cart" class="cartInfo" style="display: block;height: 40px;">замените на:
<div id="float-cart" class="cartInfo" style="height: 40px;">
"В корзине товаров ... шт на сумму ...рублей"
#79
Отправлено 04 Август 2015 - 12:10
#80
Отправлено 04 Август 2015 - 13:34
miyako (17 Сентябрь 2013 - 12:59) писал:
Инструкция по установке кнопки наверх можно найти здесь - http://forum.storela...ерх/#entry27024
А можно изменить текст и размеры всплывающей корзины? очень нужно, буду благодарен если поможете..
Количество пользователей, читающих эту тему: 0
0 пользователей, 0 гостей, 0 анонимных