SOLVED: Padding / space around product elements

  • Posts: 43
  • Thank you received: 1
12 years 1 month ago #68648

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.

Attachments:
Last edit: 12 years 1 month ago by mhunter.

Please Log in or Create an account to join the conversation.

  • Posts: 2334
  • Thank you received: 403
12 years 1 month ago #68673

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.

Please Log in or Create an account to join the conversation.

  • Posts: 43
  • Thank you received: 1
12 years 1 month ago #68688

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.

  • Posts: 82818
  • Thank you received: 13362
  • MODERATOR
12 years 1 month ago #68690

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.

Please Log in or Create an account to join the conversation.

  • Posts: 43
  • Thank you received: 1
12 years 1 month ago #68696

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.

  • Posts: 43
  • Thank you received: 1
12 years 1 month ago #68760

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.082 seconds
Powered by Kunena Forum