Перейти к содержимому


Как Удалить "сравнение Товара"


  • Авторизуйтесь для ответа в теме
В теме одно сообщение

#1 Арина@

Арина@

    Новичок

  • Пользователи
  • Pip
  • 1 сообщений

Отправлено 10 Декабрь 2019 - 14:05

Здравствуйте! Подскажите пожалуйста, у меня два вопроса:

1) Как полностью удалить с сайта сравнения товаров (в карточке товара)?
2) Как сделать верхнюю панель сайта, где меню, статичной? Чтобы она перестала выплывать при наведении курсора на нее, а была всегда в одном положении

Спасибо

#2 Vaccina

Vaccina

    Активный участник

  • Модераторы
  • 24 353 сообщений

Отправлено 24 Декабрь 2019 - 19:28

Здравствуйте.

1. Зайдите в раздел Настройки - Основные - Модуль сравнения товаров на сайте - поставьте галочку напротив "Выключить модуль сравнения товаров на сайте".

2. Зайдите в раздел Сайт - Редактор шаблонов - main.css - найдите:
/*** Фиксированная часть шапки ***/
#top-box {background-color: #00c59c;min-height: 30px;padding: 5px 0;width: 100%;}
.fixed-header.hidden-top.visible-top .header {margin-top: 40px;-webkit-transition: margin-top 0.2s linear;transition: margin-top 0.2s linear;}
.fixed-header.hidden-top.fixed .header, .fixed-header.hidden-top.visible-top.fixed .header {margin-top: 0;-webkit-transition: margin-top 0.2s linear;transition: margin-top 0.2s linear;}
.fixed-header.hidden-top.loaded .page-box, .fixed-header.hidden-top.fixed.loaded .page-box {-webkit-transition: padding-top 0.2s linear;transition: padding-top 0.2s linear;}
/*.fixed-header.hidden-top.fixed .page-box {padding-top: 104px;} /*Отступ основной части для фиксированной шапки при скроле, данное значение должно быть равным размерам шапки */
/*.fixed-header.hidden-top .page-box {padding-top: 112px;} /*Отступ основной части для фиксированной шапки, данное значение должно быть равным размерам шапки */
.fixed-header.hidden-top.visible-top #top-box {margin-top: 0;-webkit-transition: margin-top 0.2s linear;transition: margin-top 0.2s linear;}
.fixed-header.hidden-top.loaded #top-box {-webkit-transition: margin-top 0.2s linear;transition: margin-top 0.2s linear;}
.fixed-header.hidden-top.fixed #top-box {margin-top: -42px;-webkit-transition: margin-top 0.2s linear;transition: margin-top 0.2s linear;}
.fixed-header.hidden-top #top-box {left: 0;margin-top: -32px;position: fixed;top: 0;z-index: 910;}
.fixed-header.hidden-top #top-box.dmenu {margin-top: -72px;}
.fixed-header.hidden-top.visible-top .header.dmenu {margin-top: 80px;}
.fixed-header.hidden-top.fixed #top-box.dmenu {margin-top: -82px;}
.fixed-header.hidden-top.visible-top #top-box.dmenu {margin-top:0px;}
.fixed-header.hidden-top #top-box.tmenu {margin-top: -112px;}
.fixed-header.hidden-top.visible-top .header.tmenu {margin-top: 120px;}
.fixed-header.hidden-top.fixed #top-box.tmenu {margin-top: -122px;}
.fixed-header.hidden-top.visible-top #top-box.tmenu {margin-top:0px;}

замените на:
/*** Фиксированная часть шапки ***/
#top-box {background-color: #00c59c;min-height: 30px;padding: 5px 0;width: 100%;}
.fixed-header.hidden-top .header {margin-top: 40px;-webkit-transition: margin-top 0.2s linear;transition: margin-top 0.2s linear;}
.fixed-header.hidden-top.fixed .header, .fixed-header.hidden-top.fixed .header {-webkit-transition: margin-top 0.2s linear;transition: margin-top 0.2s linear;}
.fixed-header.hidden-top.loaded .page-box, .fixed-header.hidden-top.fixed.loaded .page-box {padding-top: 140px !important;-webkit-transition: padding-top 0.2s linear;transition: padding-top 0.2s linear;}
.fixed-header.hidden-top #top-box {margin-top: 0;-webkit-transition: margin-top 0.2s linear;transition: margin-top 0.2s linear;}
.fixed-header.hidden-top #top-box {left: 0;position: fixed;top: 0;z-index: 910;}
.fixed-header.hidden-top .header.dmenu {margin-top: 80px;}
.fixed-header.hidden-top .header.tmenu {margin-top: 120px;}

P.S.: укажите номер аккаунта в профиле форума.




Количество пользователей, читающих эту тему: 0

0 пользователей, 0 гостей, 0 анонимных