- Posts: 43
- Thank you received: 1
SOLVED: Padding / space around product elements
14 years 1 month ago - 14 years 1 month ago #68648
by mhunter
SOLVED: Padding / space around product elements was created by mhunter
Can anyone explain please how to increase the space around elements of the product display? I'm not sure if I need to do this in Hikashop CSS or my template.
Here are a couple of screenshots to show what I mean. For example, there is no space between the radio button and label of the custom field. The custom fields Name 1 and Name 2 are too close together. The add to cart button is too close to the custom fields so I'd like to move it down a bit.
Thanks.
Here are a couple of screenshots to show what I mean. For example, there is no space between the radio button and label of the custom field. The custom fields Name 1 and Name 2 are too close together. The add to cart button is too close to the custom fields so I'd like to move it down a bit.
Thanks.
Last edit: 14 years 1 month ago by mhunter.
Please Log in or Create an account to join the conversation.
14 years 1 month ago #68673
by Eliot
Replied by Eliot on topic Re: Padding / space around product elements
Hi there,
You simply need to add some css in the Hikashop front end css file (System>Display).
You can use Firebug any other browser option to look at the code and seek the element you want to customize.
In this case you'll probably want to add something like that:
#hikashop_product_custom_item_value_XXX{
margin-bottom:5px;
}
where XXX is the id of the custom field.
You simply need to add some css in the Hikashop front end css file (System>Display).
You can use Firebug any other browser option to look at the code and seek the element you want to customize.
In this case you'll probably want to add something like that:
#hikashop_product_custom_item_value_XXX{
margin-bottom:5px;
}
where XXX is the id of the custom field.
Please Log in or Create an account to join the conversation.
14 years 1 month ago #68688
by mhunter
Replied by mhunter on topic Re: Padding / space around product elements
Hmm, I can't find that code in my Hikashop front end css (which is now custom not default). I've gone to Hikashop/Configuration/System/Display and clicked on edit icon of front end CSS. Is that the right place please?
Please Log in or Create an account to join the conversation.
14 years 1 month ago #68690
by nicolas
Replied by nicolas on topic Re: Padding / space around product elements
That's the right place.
It's normal that you don't find that code there. Please reread the message of Eliot, he tells you to ADD the code there.
It's normal that you don't find that code there. Please reread the message of Eliot, he tells you to ADD the code there.
Please Log in or Create an account to join the conversation.
14 years 1 month ago #68696
by mhunter
Replied by mhunter on topic Re: Padding / space around product elements
Sorry, I misunderstood, however it still doesn't work adding that code. I've contacted my template provider to ask if it's a template thing.
Please Log in or Create an account to join the conversation.
14 years 1 month ago #68760
by mhunter
Replied by mhunter on topic Re: Padding / space around product elements
I have now fixed this by adding margins around the different elements (such as radio button, text input box etc) in my template's main CSS file.
Please Log in or Create an account to join the conversation.
Time to create page: 0.060 seconds