- Posts: 43
- Thank you received: 0
Здесь вы можете свободно общаться на русском языке. Просим отнестись с пониманием к тому, что мы не разговариваем на этом языке и не можем осуществлять поддержку на нем.
Вопрос по CCS
14 years 1 month ago - 14 years 1 month ago #67082
by Teng
Вопрос по CCS was created by Teng
Здравствуйте.
Помогите разобраться с CCS, у изображения необходимо увеличить нижнее и верхнее поле, что бы картинка на текст не заезжала.
С помощью Firebug нашел :
то есть мне надо изменить margin-bottom и margin-top, а вот где находится ( в каком файле) этот element.style,чтобы его изменить, не могу понять.
Спасибо.
Помогите разобраться с CCS, у изображения необходимо увеличить нижнее и верхнее поле, что бы картинка на текст не заезжала.
С помощью Firebug нашел :
Code:
element.style {
display: inline-block;
margin-bottom: 10px;
margin-top: 10px;
vertical-align: middle;
}
Спасибо.
Last edit: 14 years 1 month ago by Teng.
Please Log in or Create an account to join the conversation.
14 years 1 month ago #67214
by nicolas
Replied by nicolas on topic Re: Вопрос по CCS
element.style means that this CSS is applied directly in the HTML attributes of your tag not in an CSS.
So you should edit the front end CSS of HikaShop and use the id or the class name of the tag in order to override that CSS like that:
.my_css_class{
margin-bottom: 5px !important;
margin-top: 5px !important;
}
So you should edit the front end CSS of HikaShop and use the id or the class name of the tag in order to override that CSS like that:
.my_css_class{
margin-bottom: 5px !important;
margin-top: 5px !important;
}
Please Log in or Create an account to join the conversation.
14 years 4 weeks ago - 14 years 4 weeks ago #69251
by Teng
Replied by Teng on topic Re: Вопрос по CCS
Спасибо за ответ, но я плохо понимаю HTML(id и классы) :blush: , помогите решить проблему.
Как называется и где находится файл HTML который выводит эту страницу ?
Что-то надо менять в этом файле? Это решается только с помощью CSS?
Мне всего то надо увеличить у изображения поле сверху и снизу до 30px. :blush:
Как называется и где находится файл HTML который выводит эту страницу ?
Что-то надо менять в этом файле? Это решается только с помощью CSS?
Мне всего то надо увеличить у изображения поле сверху и снизу до 30px. :blush:
Last edit: 14 years 4 weeks ago by Teng.
Please Log in or Create an account to join the conversation.
14 years 4 weeks ago #69300
by nicolas
Replied by nicolas on topic Re: Вопрос по CCS
That page is displayed by the file "show_default" of the view "product" via the menu Display>Views.
I didn't understand much of your previous message so I can't really say more.
I didn't understand much of your previous message so I can't really say more.
Please Log in or Create an account to join the conversation.
Moderators: progreccor
Time to create page: 0.069 seconds