Выровнять Название Категории, Товара
#1
Отправлено 09 Апрель 2015 - 18:49
#7
Отправлено 10 Апрель 2015 - 09:21
Alekseys (09 Апрель 2015 - 20:14) писал:
#8
Отправлено 10 Апрель 2015 - 09:32
Виталий702 (10 Апрель 2015 - 09:21) писал:
Здравствуйте, без внесения изменений в виде отступа("margin", "margin-left"), надпись будет располагаться по центру
#10
Отправлено 10 Апрель 2015 - 10:23
Виталий702 (10 Апрель 2015 - 09:59) писал:
Вы их могли добавить следуя инструкции выше:
Alekseys (09 Апрель 2015 - 19:41) писал:
.page_title span { margin-left: -5px; }и меняя значение margin-left сместите влево или вправо.
На приложенном вами скриншоте, в начале темы, текст находится в центре
#12
Отправлено 10 Апрель 2015 - 11:15
Виталий702 (10 Апрель 2015 - 10:55) писал:
Зайдите в админ. панель -> Сайт -> Редактор шаблонов -> Стили -> 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; }
Замените его на:
.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; width: 100%; }
В админ. панель -> Сайт -> Редактор шаблонов -> Стили -> 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; }
Замените его на:
.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; }
#13
Отправлено 10 Апрель 2015 - 11:37
Cupuyc (10 Апрель 2015 - 11:15) писал:
.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; }
Замените его на:
.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; width: 100%; }
В админ. панель -> Сайт -> Редактор шаблонов -> Стили -> 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; }
Замените его на:
.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; }
#14
Отправлено 10 Апрель 2015 - 15:21
Виталий702 (10 Апрель 2015 - 11:37) писал:
найдите в 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; width: 100%; }замените на
.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; }
#16
Отправлено 10 Апрель 2015 - 19:43
Виталий702 (10 Апрель 2015 - 18:14) писал:
.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 { cursor: pointer; padding: 10px 25px; height: 9em; 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; }
#17
Отправлено 10 Апрель 2015 - 20:48
Виталий702 (10 Апрель 2015 - 18:14) писал:
Здравствуйте, зайдите в админ. панель -> Сайт -> Редактор шаблонов -> Стили -> 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; }
#18
Отправлено 14 Апрель 2015 - 13:33
Alekseys (10 Апрель 2015 - 19:43) писал:
.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 { cursor: pointer; padding: 10px 25px; height: 9em; 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; }
#19
Отправлено 14 Апрель 2015 - 14:05
Виталий702 (14 Апрель 2015 - 13:33) писал:
Здравствуйте.
Зайдите в админ. панель -> Сайт -> Редактор шаблонов -> Стили -> main.css найдите код:
.nameWrp { cursor: pointer; padding: 10px 25px; height: 9em; 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 { cursor: pointer; padding: 10px 25px; height: 9em; 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: inline-table; width: 100%; vertical-align: middle; }
#20
Отправлено 14 Апрель 2015 - 14:44
firefly (14 Апрель 2015 - 14:05) писал:
Зайдите в админ. панель -> Сайт -> Редактор шаблонов -> Стили -> main.css найдите код:
.nameWrp { cursor: pointer; padding: 10px 25px; height: 9em; 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 { cursor: pointer; padding: 10px 25px; height: 9em; 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: inline-table; width: 100%; vertical-align: middle; }
Количество пользователей, читающих эту тему: 0
0 пользователей, 0 гостей, 0 анонимных