Виталий702 (14 Апрель 2015 - 14:44) писал:
Спасибо, получилось! Но теперь название товара не по центру...Помогите исправить, пожалуйста!
Здравствуйте, пожалуйста отмените изменения внесенные в соответствии с последней инструкцией и выполните предыдущую:
Cupuyc (10 Апрель 2015 - 20:48) писал:
Здравствуйте, зайдите в админ. панель -> Сайт -> Редактор шаблонов -> Стили -> main.css найдите код:
Замените его на:
В админ. панель -> Сайт -> Редактор шаблонов -> Стили -> main.css найдите код:
Замените его на:
.item .name , .cat_prod_hold .name{ text-align: center; overflow: hidden; transition: all 0.3s ease; -moz-transition: all 0.3s ease; -webkit-transition: all 0.3s ease; -o-transition: all 0.3s ease; color:white; margin-bottom:5px; display: table-cell; vertical-align: middle; }
Замените его на:
.item .name , .cat_prod_hold .name{ text-align: center; overflow: hidden; transition: all 0.3s ease; -moz-transition: all 0.3s ease; -webkit-transition: all 0.3s ease; -o-transition: all 0.3s ease; color:white; margin-bottom:5px; }
В админ. панель -> Сайт -> Редактор шаблонов -> Стили -> main.css найдите код:
.nameWrp { cursor: pointer; padding: 10px 25px; height: 95px; background: #866E5F; transition: all 0.3s ease; -moz-transition: all 0.3s ease; -webkit-transition: all 0.3s ease; -o-transition: all 0.3s ease; overflow: hidden; display: table-cell; width: 100%; vertical-align: middle; }
Замените его на:
.nameWrp { min-width: 200px; cursor: pointer; padding: 10px 25px; height: 95px; background: #866E5F; transition: all 0.3s ease; -moz-transition: all 0.3s ease; -webkit-transition: all 0.3s ease; -o-transition: all 0.3s ease; overflow: hidden; display: table-cell; width: 100%; vertical-align: middle; }