Модераторы Помогите Уже Наконец! Нужно Поменять Местами Кнопки
#1
Отправлено 22 Сентябрь 2015 - 15:38
1. Нужно разместить "Корзину" между кнопок "В Избранное" и "Быстрый просмотр" как на скриншоте.
2. Раздвинуть кнопки "В Избранное" и "Быстрый просмотр" как на скриншоте.
3. Чуть сузить задний фон кнопок, см.скриншот.
#2
Отправлено 22 Сентябрь 2015 - 16:03
Shishas (22 Сентябрь 2015 - 15:38) писал:
1. Нужно разместить "Корзину" между кнопок "В Избранное" и "Быстрый просмотр" как на скриншоте.
2. Раздвинуть кнопки "В Избранное" и "Быстрый просмотр" как на скриншоте.
3. Чуть сузить задний фон кнопок, см.скриншот.
<div class="cart-wrap"> <!--a class="add-cart quick btn-cart button" title="Быстро оформить заказ" {% IF SETTINGS_GOODS_DONT_PUT_TO_CART_MORE_THAN_AVAILABLE %}{% IF goods.MAX_REST_VALUE=0 %}style="display:none;"{% ENDIF %}{% ENDIF %}></a--> <a class="add-cart btn-cart button" title="В корзину" {% IF SETTINGS_GOODS_DONT_PUT_TO_CART_MORE_THAN_AVAILABLE %}{% IF goods.MAX_REST_VALUE=0 %}style="display:none;"{% ENDIF %}{% ENDIF %}>В корзину</a> </div>и перенесите его, вставив строго перед
<div class="quickview-wrap"> <a class="sns-btn-quickview fast-quick" href="{goods.URL_MIN_PRICE_NOW}" title="Быстрый просмотр «{goods.NAME}»"><span>Быстрый просмотр</span></a> </div>В main.css найдите код
.products-grid .item .item-inner .item-img .cart-wrap { position: absolute; top: -17px; width: 100%; height: 36px; z-index: 3; text-align: center; }и замените на
.products-grid .item .item-inner .item-img .cart-wrap { margin-top: 7px; height: 36px; z-index: 3; float: left; }так же найдите
.products-grid .item .item-inner .item-img .item-box-hover .box-inner { width: 183px; height: 51px; margin: 20px auto 0; }и замените на
.products-grid .item .item-inner .item-img .item-box-hover .box-inner { width: 250px; height: 51px; margin: 20px auto 0; }
#3
Отправлено 22 Сентябрь 2015 - 16:52
Danil (22 Сентябрь 2015 - 16:03) писал:
<div class="cart-wrap"> <!--a class="add-cart quick btn-cart button" title="Быстро оформить заказ" {% IF SETTINGS_GOODS_DONT_PUT_TO_CART_MORE_THAN_AVAILABLE %}{% IF goods.MAX_REST_VALUE=0 %}style="display:none;"{% ENDIF %}{% ENDIF %}></a--> <a class="add-cart btn-cart button" title="В корзину" {% IF SETTINGS_GOODS_DONT_PUT_TO_CART_MORE_THAN_AVAILABLE %}{% IF goods.MAX_REST_VALUE=0 %}style="display:none;"{% ENDIF %}{% ENDIF %}>В корзину</a> </div>и перенесите его, вставив строго перед
<div class="quickview-wrap"> <a class="sns-btn-quickview fast-quick" href="{goods.URL_MIN_PRICE_NOW}" title="Быстрый просмотр «{goods.NAME}»"><span>Быстрый просмотр</span></a> </div>В main.css найдите код
.products-grid .item .item-inner .item-img .cart-wrap { position: absolute; top: -17px; width: 100%; height: 36px; z-index: 3; text-align: center; }и замените на
.products-grid .item .item-inner .item-img .cart-wrap { margin-top: 7px; height: 36px; z-index: 3; float: left; }так же найдите
.products-grid .item .item-inner .item-img .item-box-hover .box-inner { width: 183px; height: 51px; margin: 20px auto 0; }и замените на
.products-grid .item .item-inner .item-img .item-box-hover .box-inner { width: 250px; height: 51px; margin: 20px auto 0; }
Спасибо за отклик.
По первым двум пунктам всё сделал, нет только обводки вокруг корзины. Что на счет третьего пункта?
И еще нужно убрать эффект полупрозрачности (свечения) товара при наведении на него, и добавить эффект при наведении в "Корзину" такую же как на например "В Избранное" или "Быстрый просмотр".
#4
Отправлено 22 Сентябрь 2015 - 17:03
Shishas (22 Сентябрь 2015 - 16:52) писал:
По первым двум пунктам всё сделал, нет только обводки вокруг корзины. Что на счет третьего пункта?
И еще нужно убрать эффект полупрозрачности (свечения) товара при наведении на него, и добавить эффект при наведении в "Корзину" такую же как на например "В Избранное" или "Быстрый просмотр".
#6
Отправлено 22 Сентябрь 2015 - 17:16
#7
Отправлено 22 Сентябрь 2015 - 17:20
Shishas (22 Сентябрь 2015 - 17:09) писал:
.products-grid .item:hover .item-inner .item-img .cart-wrap .btn-cart {border-color: #3cabda;background-color: #3cabda;color: #FFF;} .products-grid .item:hover .item-inner .item-img .cart-wrap .btn-cart:before {background-position: 0px top;}и замените на
.products-grid .item .item-inner .item-img .cart-wrap .btn-cart:hover {border-color: #3cabda;background-color: #3cabda;color: #FFF;} .products-grid .item .item-inner .item-img .cart-wrap .btn-cart:before:hover {background-position: 0px top;}найдите
.products-grid .item .item-inner .item-img .item-box-hover { z-index: 2; background-color: #3cabda; background-color: rgba(62, 171, 218, 0.8); position: absolute; width: 100%; height: 90px; bottom: -90px; left: 0px; }и замените на
.products-grid .item .item-inner .item-img .item-box-hover { z-index: 2; background-color: #3cabda; background-color: rgba(62, 171, 218, 0.8); position: absolute; width: 100%; height: 52px; bottom: -90px; left: 0px; }так же найдите
.products-grid .item .item-inner .item-img .item-box-hover .box-inner { width: 250px; height: 51px; margin: 20px auto 0; }и замените на
.products-grid .item .item-inner .item-img .item-box-hover .box-inner { width: 250px; height: 51px; margin: 2px auto 0; }
#8
Отправлено 22 Сентябрь 2015 - 17:31
Danil (22 Сентябрь 2015 - 17:20) писал:
.products-grid .item:hover .item-inner .item-img .cart-wrap .btn-cart {border-color: #3cabda;background-color: #3cabda;color: #FFF;} .products-grid .item:hover .item-inner .item-img .cart-wrap .btn-cart:before {background-position: 0px top;}и замените на
.products-grid .item .item-inner .item-img .cart-wrap .btn-cart:hover {border-color: #3cabda;background-color: #3cabda;color: #FFF;} .products-grid .item .item-inner .item-img .cart-wrap .btn-cart:before:hover {background-position: 0px top;}найдите
.products-grid .item .item-inner .item-img .item-box-hover { z-index: 2; background-color: #3cabda; background-color: rgba(62, 171, 218, 0.8); position: absolute; width: 100%; height: 90px; bottom: -90px; left: 0px; }и замените на
.products-grid .item .item-inner .item-img .item-box-hover { z-index: 2; background-color: #3cabda; background-color: rgba(62, 171, 218, 0.8); position: absolute; width: 100%; height: 52px; bottom: -90px; left: 0px; }так же найдите
.products-grid .item .item-inner .item-img .item-box-hover .box-inner { width: 250px; height: 51px; margin: 20px auto 0; }и замените на
.products-grid .item .item-inner .item-img .item-box-hover .box-inner { width: 250px; height: 51px; margin: 2px auto 0; }
Вот прям как я и хотел, спасибо дружище. Хотел бы убрать еще эффект затухания товара при наведении на него.
#9
Отправлено 22 Сентябрь 2015 - 17:36
Shishas (22 Сентябрь 2015 - 17:31) писал:
.products-grid .item:hover .item-inner .item-img .item-img-info a.product-image:before { left: 0px; top: 0px; margin: 0 0; opacity: 1; filter: alpha(opacity=100); }и замените на
.products-grid .item:hover .item-inner .item-img .item-img-info a.product-image:before { left: 0px; top: 0px; margin: 0 0; }
#10
Отправлено 22 Сентябрь 2015 - 18:41
Danil (22 Сентябрь 2015 - 17:36) писал:
.products-grid .item:hover .item-inner .item-img .item-img-info a.product-image:before { left: 0px; top: 0px; margin: 0 0; opacity: 1; filter: alpha(opacity=100); }и замените на
.products-grid .item:hover .item-inner .item-img .item-img-info a.product-image:before { left: 0px; top: 0px; margin: 0 0; }
Спасибо большое!
Можете ответить на вопрос из этой категории? http://forum.storela...фикацию-товара/
#11
Отправлено 22 Сентябрь 2015 - 19:52
Danil (22 Сентябрь 2015 - 17:36) писал:
.products-grid .item:hover .item-inner .item-img .item-img-info a.product-image:before { left: 0px; top: 0px; margin: 0 0; opacity: 1; filter: alpha(opacity=100); }и замените на
.products-grid .item:hover .item-inner .item-img .item-img-info a.product-image:before { left: 0px; top: 0px; margin: 0 0; }
В Мобильной версии пропали "Корзина" и "Быстрый просмотр", блин лажа
#12
Отправлено 22 Сентябрь 2015 - 20:27
Shishas (22 Сентябрь 2015 - 19:52) писал:
.products-grid .item .item-inner .item-img .item-box-hover .box-inner { width: 118px; }так же удалите
.sns-btn-quickview { display: none !important; }Найдите
.products-grid .item .item-inner .item-img .cart-wrap .btn-cart { font-size: 116.7%; text-transform: none; position: relative; height: 34px; line-height: 34px; display: inline-block; padding: 0 17px 0 47px; border-radius: 10px; }и замените на
.products-grid .item .item-inner .item-img .cart-wrap .btn-cart { font-size: 116.7%; text-transform: none; position: relative; height: 34px; line-height: 34px; display: inline-block; padding: 0 10px 0 44px; border-radius: 10px; }
#13
Отправлено 22 Сентябрь 2015 - 21:39
Danil (22 Сентябрь 2015 - 20:27) писал:
.products-grid .item .item-inner .item-img .item-box-hover .box-inner { width: 118px; }так же удалите
.sns-btn-quickview { display: none !important; }Найдите
.products-grid .item .item-inner .item-img .cart-wrap .btn-cart { font-size: 116.7%; text-transform: none; position: relative; height: 34px; line-height: 34px; display: inline-block; padding: 0 17px 0 47px; border-radius: 10px; }и замените на
.products-grid .item .item-inner .item-img .cart-wrap .btn-cart { font-size: 116.7%; text-transform: none; position: relative; height: 34px; line-height: 34px; display: inline-block; padding: 0 10px 0 44px; border-radius: 10px; }
В мобильной версии нужно добавить кнопочку перехода в избранные товары. Только чтоб зарегистрированный пользователь в нее мог входить, а для остальных выходило уведомление, что для этого нужна регистрация на сайте.
#14
Отправлено 23 Сентябрь 2015 - 02:56
</div> <!-- END: Main Navigation --> <div class="nav-right col-xs-2 col-md-3"> <div class="header-right-inner">
вставьте:
<div class="block-iz"><a href="{FAVORITES_URL}" title="Избранные товары"></a></div>
В main.css найдите:
#header .header-right #search_mini_form {display:none;}
после него пропишите:
#menu .nav-right .block-iz{width:50px;height:50px;float:left;position: absolute; right:95px;display:none;} #menu .nav-right .block-iz a {background-image: url("{ASSETS_IMAGES_PATH}action-lgrid.png");background-repeat: no-repeat;background-position: left top; content: "";right: 0px;position: absolute;width: 48px;height: 47px;-webkit-border-radius: 12px;-moz-border-radius: 12px;border-radius: 12px;border: 1px solid rgba(255, 255, 255, 0.5);background: transparent;}
Далее найдите:
@media all and (max-width: 767px) {
после него пропишите:
#menu .nav-right .block-iz {display:block;}
#15
Отправлено 23 Сентябрь 2015 - 11:53
Vaccina (23 Сентябрь 2015 - 02:56) писал:
</div> <!-- END: Main Navigation --> <div class="nav-right col-xs-2 col-md-3"> <div class="header-right-inner">
вставьте:
<div class="block-iz"><a href="{FAVORITES_URL}" title="Избранные товары"></a></div>
В main.css найдите:
#header .header-right #search_mini_form {display:none;}
после него пропишите:
#menu .nav-right .block-iz{width:50px;height:50px;float:left;position: absolute; right:95px;display:none;} #menu .nav-right .block-iz a {background-image: url("{ASSETS_IMAGES_PATH}action-lgrid.png");background-repeat: no-repeat;background-position: left top; content: "";right: 0px;position: absolute;width: 48px;height: 47px;-webkit-border-radius: 12px;-moz-border-radius: 12px;border-radius: 12px;border: 1px solid rgba(255, 255, 255, 0.5);background: transparent;}
Далее найдите:
@media all and (max-width: 767px) {
после него пропишите:
#menu .nav-right .block-iz {display:block;}
Ничего не изменилось, осталось как было
#16
Отправлено 25 Сентябрь 2015 - 02:16
#17
Отправлено 25 Сентябрь 2015 - 04:40
#menu .nav-right .block-iz{width:50px;height:50px;float:left;position: absolute; right:95px;display:none;} #menu .nav-right .block-iz a {background-image: url("{ASSETS_IMAGES_PATH}action-lgrid.png");background-repeat: no-repeat;background-position: left top; content: "";right: 0px;position: absolute;width: 48px;height: 47px;-webkit-border-radius: 12px;-moz-border-radius: 12px;border-radius: 12px;border: 1px solid rgba(255, 255, 255, 0.5);background: transparent;}замените на:
.block-iz{width:50px;height:50px;float:left;position: absolute; right:95px;top:15px;display:none;} .block-iz a {background-image: url("{ASSETS_IMAGES_PATH}action-lgrid.png");background-repeat: no-repeat;background-position: left top; content: "";right: 0px;position: absolute;width: 48px;height: 47px;-webkit-border-radius: 12px;-moz-border-radius: 12px;border-radius: 12px;border: 1px solid rgba(255, 255, 255, 0.5);}
далее найдите:
#menu .nav-right .block-iz {display:block;}замените на:
.block-iz {display:block;}
#18
Отправлено 25 Сентябрь 2015 - 12:59
Vaccina (25 Сентябрь 2015 - 04:40) писал:
#menu .nav-right .block-iz{width:50px;height:50px;float:left;position: absolute; right:95px;display:none;} #menu .nav-right .block-iz a {background-image: url("{ASSETS_IMAGES_PATH}action-lgrid.png");background-repeat: no-repeat;background-position: left top; content: "";right: 0px;position: absolute;width: 48px;height: 47px;-webkit-border-radius: 12px;-moz-border-radius: 12px;border-radius: 12px;border: 1px solid rgba(255, 255, 255, 0.5);background: transparent;}замените на:
.block-iz{width:50px;height:50px;float:left;position: absolute; right:95px;top:15px;display:none;} .block-iz a {background-image: url("{ASSETS_IMAGES_PATH}action-lgrid.png");background-repeat: no-repeat;background-position: left top; content: "";right: 0px;position: absolute;width: 48px;height: 47px;-webkit-border-radius: 12px;-moz-border-radius: 12px;border-radius: 12px;border: 1px solid rgba(255, 255, 255, 0.5);}
далее найдите:
#menu .nav-right .block-iz {display:block;}замените на:
.block-iz {display:block;}
Снова ничего не изменилось. Помогите
Количество пользователей, читающих эту тему: 0
0 пользователей, 0 гостей, 0 анонимных