Vaccina (21 Август 2018 - 07:37) писал:
Зайдите в раздел Сайт - Редактор шаблонов - main.css - найдите:
.products-grid .item .product-image .mask {position: absolute;width: 530%;height: 280%;top: 0;left: 0;background-color: rgba(255, 255, 255, 0.9);opacity: 0;filter: alpha(opacity=0);-ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";} .products-grid .item .product-image:hover .mask {opacity: 1;filter: alpha(opacity=100);-ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)";} .products-grid .item .product-image .actions {display: block;position: absolute;top: 0;left: 0;text-align: center;width: 100%;height: calc(100% - 50px);} .products-grid .item .product-image .actions .group-mask {display: table;width: 100%;height: 100%;overflow: hidden;background-color: transparent;} .products-grid .item .product-image .actions .inner-mask {display: table-cell;vertical-align: middle;} .products-grid .item .product-image .actions .ratings { margin-bottom: 15px; height: 20px; opacity: 0; filter: alpha(opacity=0); -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; -webkit-transform: translate(10px, -30px); -moz-transform: translate(10px, -30px); -o-transform: translate(10px, -30px); -ms-transform: translate(10px, -30px); transform: translate(10px, -30px); display: none; } .products-grid .item .product-image:hover .actions .ratings {opacity: 1;filter: alpha(opacity=100);-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";-webkit-transform: translate(0px,0px);-moz-transform: translate(0px,0px);-o-transform: translate(0px,0px);-ms-transform: translate(0px,0px);transform: translate(0px,0px);} .products-grid .item .product-image .actions .addtocart {margin-bottom: 15px;-ms-transform: scale(0,1);-webkit-transform: scale(0,1);transform: scale(0,1);} .products-grid .item .product-image:hover .actions .addtocart {-ms-transform: scale(1);-webkit-transform: scale(1);transform: scale(1);} .products-grid .item .product-image .actions .add-to-links {opacity: 0;filter: alpha(opacity=0);-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";-webkit-transform: translate(-10px, 30px);-moz-transform: translate(-10px, 30px);-o-transform: translate(-10px, 30px);-ms-transform: translate(-10px, 30px);transform: translate(-10px, 30px);} .products-grid .item .product-image:hover .actions .add-to-links {opacity: 1;filter: alpha(opacity=100);-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";-webkit-transform: translate(0px,0px);-moz-transform: translate(0px,0px);-o-transform: translate(0px,0px);-ms-transform: translate(0px,0px);transform: translate(0px,0px);} .products-grid .item .product-image .actions .add-to-links > a { display: none; position: relative;padding: 0 12px;font-size: 18px;} .products-grid .item .product-image .actions .add-to-links > a:first-child:before {position: absolute;top: 50%;left: 100%;height: 18px;width: 1px;content: '';margin-top: -9px;background-color: #ccc;} .products-grid .item .product-image .actions.compare-off .add-to-links > a:first-child:before {display: none;} .products-grid .item .product-image .actions .add-to-links > a:hover, .products-grid .item .product-image .actions .add-to-links > a.added {color: #8C2C29;} .products-grid .item .product-image .actions .add-to-links .quickview-wrap {margin-top: 10px;} .products-grid .item .product-image .actions .add-to-links .quickview-wrap span {padding: 10px;font-size: 16px;} .products-grid .item .product-image .actions .add-to-links .quickview-wrap .quickview i {display: none;}
замените на:
.products-grid .item .product-image .actions {display: block;text-align: center;width: 100%;} .products-grid .item .product-image .actions .ratings, .products-grid .item .product-image .actions .add-to-links > a {display: none;} .products-grid .item .product-image .actions .addtocart {margin-bottom: 15px;float: left;width: 100%;} .products-grid .item .product-image:hover .actions .addtocart {-ms-transform: scale(1);-webkit-transform: scale(1);transform: scale(1);} .products-grid .item .product-image .actions .add-to-links .quickview {position: absolute;top: 0; width: 100%; left: 0;right: 0;height: calc(100% - 60px);z-index: 10;text-indent: -9999px;}
далее найдите:
.products-grid .item .product-shop .price-box {margin: 10px 0 5px;}
замените на:
.products-grid .item .product-shop .price-box {margin: 10px 0 5px;color:#cccccc;}
значение цвета вместо color:#cccccc; укажите необходимое.
Далее зайдите в шаблон HTML - найдите и удалите:
{% IF index_page_new_goods.index > 30 %}{break}{% ENDIF %}
далее найдите и удалите:
{% IF index_page_favorites_goods.index > 30 %}{break}{% ENDIF %}
далее найдите и удалите:
{% IF index_page_goods.index > 30 %}{break}{% ENDIF %}
Но появилась проблема : При наведении курсора на "Добавить в корзину" всплывает информация о модели товара и закрывает кнопку "Добавить в корзину". Необходимо сузить всплывающее окно на треть , чтобы кнопка "Добавить в корзину " не перекрывалась.
2 . Поменять цвет кнопки Добавить в корзину , как на главной так и в карточке товара
3 . В ленте новостей кнопку " К другим новостям магазина" переименовать в "Новинки" и путь для нее сделать в раздел Новинки
4 .Поменять цвет надписи Хит над товаром
5 .Логотип разместить в шапку сайта на место Номера телефона , сам номер сместить вправо.
6 . Если в настройках Главной страницы установить Каталог Товаров то на самом сайте при нажатие кнопки Перейти в каталог страница просто обновляется . Нужно чтоб на главной блоки каталога остались и кнопка Перейти в Каталог выводила на страницу каталога .
Заранее огромное спасибо Вам за ваш труд!!!
Vaccina (21 Август 2018 - 07:37) писал:
Зайдите в раздел Сайт - Редактор шаблонов - main.css - найдите:
.products-grid .item .product-image .mask {position: absolute;width: 530%;height: 280%;top: 0;left: 0;background-color: rgba(255, 255, 255, 0.9);opacity: 0;filter: alpha(opacity=0);-ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";} .products-grid .item .product-image:hover .mask {opacity: 1;filter: alpha(opacity=100);-ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)";} .products-grid .item .product-image .actions {display: block;position: absolute;top: 0;left: 0;text-align: center;width: 100%;height: calc(100% - 50px);} .products-grid .item .product-image .actions .group-mask {display: table;width: 100%;height: 100%;overflow: hidden;background-color: transparent;} .products-grid .item .product-image .actions .inner-mask {display: table-cell;vertical-align: middle;} .products-grid .item .product-image .actions .ratings { margin-bottom: 15px; height: 20px; opacity: 0; filter: alpha(opacity=0); -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; -webkit-transform: translate(10px, -30px); -moz-transform: translate(10px, -30px); -o-transform: translate(10px, -30px); -ms-transform: translate(10px, -30px); transform: translate(10px, -30px); display: none; } .products-grid .item .product-image:hover .actions .ratings {opacity: 1;filter: alpha(opacity=100);-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";-webkit-transform: translate(0px,0px);-moz-transform: translate(0px,0px);-o-transform: translate(0px,0px);-ms-transform: translate(0px,0px);transform: translate(0px,0px);} .products-grid .item .product-image .actions .addtocart {margin-bottom: 15px;-ms-transform: scale(0,1);-webkit-transform: scale(0,1);transform: scale(0,1);} .products-grid .item .product-image:hover .actions .addtocart {-ms-transform: scale(1);-webkit-transform: scale(1);transform: scale(1);} .products-grid .item .product-image .actions .add-to-links {opacity: 0;filter: alpha(opacity=0);-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";-webkit-transform: translate(-10px, 30px);-moz-transform: translate(-10px, 30px);-o-transform: translate(-10px, 30px);-ms-transform: translate(-10px, 30px);transform: translate(-10px, 30px);} .products-grid .item .product-image:hover .actions .add-to-links {opacity: 1;filter: alpha(opacity=100);-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";-webkit-transform: translate(0px,0px);-moz-transform: translate(0px,0px);-o-transform: translate(0px,0px);-ms-transform: translate(0px,0px);transform: translate(0px,0px);} .products-grid .item .product-image .actions .add-to-links > a { display: none; position: relative;padding: 0 12px;font-size: 18px;} .products-grid .item .product-image .actions .add-to-links > a:first-child:before {position: absolute;top: 50%;left: 100%;height: 18px;width: 1px;content: '';margin-top: -9px;background-color: #ccc;} .products-grid .item .product-image .actions.compare-off .add-to-links > a:first-child:before {display: none;} .products-grid .item .product-image .actions .add-to-links > a:hover, .products-grid .item .product-image .actions .add-to-links > a.added {color: #8C2C29;} .products-grid .item .product-image .actions .add-to-links .quickview-wrap {margin-top: 10px;} .products-grid .item .product-image .actions .add-to-links .quickview-wrap span {padding: 10px;font-size: 16px;} .products-grid .item .product-image .actions .add-to-links .quickview-wrap .quickview i {display: none;}
замените на:
.products-grid .item .product-image .actions {display: block;text-align: center;width: 100%;} .products-grid .item .product-image .actions .ratings, .products-grid .item .product-image .actions .add-to-links > a {display: none;} .products-grid .item .product-image .actions .addtocart {margin-bottom: 15px;float: left;width: 100%;} .products-grid .item .product-image:hover .actions .addtocart {-ms-transform: scale(1);-webkit-transform: scale(1);transform: scale(1);} .products-grid .item .product-image .actions .add-to-links .quickview {position: absolute;top: 0; width: 100%; left: 0;right: 0;height: calc(100% - 60px);z-index: 10;text-indent: -9999px;}
далее найдите:
.products-grid .item .product-shop .price-box {margin: 10px 0 5px;}
замените на:
.products-grid .item .product-shop .price-box {margin: 10px 0 5px;color:#cccccc;}
значение цвета вместо color:#cccccc; укажите необходимое.
Далее зайдите в шаблон HTML - найдите и удалите:
{% IF index_page_new_goods.index > 30 %}{break}{% ENDIF %}
далее найдите и удалите:
{% IF index_page_favorites_goods.index > 30 %}{break}{% ENDIF %}
далее найдите и удалите:
{% IF index_page_goods.index > 30 %}{break}{% ENDIF %}