[Skip to main content](#vessel-content)

#   SOLVED: Padding / space around product elements

##

- **[mhunter](/forum/user/9679-mhunter "View mhunter's Profile")**
- [![mhunter's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/9679-mhunter "View mhunter's Profile") Topic Author
- [ Offline](/forum/user/9679-mhunter)

Less More

- Posts: 43
- Thank you received: 1
-
-

14 years 1 month ago -  14 years 1 month ago [\#68648](#68648) by [mhunter](/forum/user/9679-mhunter "View mhunter's Profile")  *[SOLVED: Padding / space around product elements](/forum/4-how-to/68648-solved-padding-space-around-product-elements#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.")* was created by *[mhunter](/forum/user/9679-mhunter "View mhunter's Profile")*

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.

[ ![Screen&#95;shot&#95;1.png](/forum/attachment/6131) ](/forum/attachment/6131 "Screen&#95;shot&#95;1.png")

[ ![Screen&#95;shot&#95;2.png](/forum/attachment/6132) ](/forum/attachment/6132 "Screen&#95;shot&#95;2.png")

Thanks.

- [ ![Screen&#95;shot&#95;1.png](/forum/attachment/6131) ](/forum/attachment/6131 "Screen&#95;shot&#95;1.png") [ ](/forum/attachment/6131?download=1 "Screen&#95;shot&#95;1.png")
- [ ![Screen&#95;shot&#95;2.png](/forum/attachment/6132) ](/forum/attachment/6132 "Screen&#95;shot&#95;2.png") [ ](/forum/attachment/6132?download=1 "Screen&#95;shot&#95;2.png")

Last edit: 14 years 1 month ago by [mhunter](/forum/user/9679-mhunter "View mhunter's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzY4NjQ4LXNvbHZlZC1wYWRkaW5nLXNwYWNlLWFyb3VuZC1wcm9kdWN0LWVsZW1lbnRzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Eliot](/forum/user/1824-eliot "View Eliot's Profile")**
- [![Eliot's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1824.png)](/forum/user/1824-eliot "View Eliot's Profile")
- [ Offline](/forum/user/1824-eliot)

Less More

- Posts: 2334
- Thank you received: 403
-
-

14 years 1 month ago [\#68673](#68673) by [Eliot](/forum/user/1824-eliot "View Eliot's Profile")  Replied by *[Eliot](/forum/user/1824-eliot "View Eliot's Profile")* on topic *[Re: Padding / space around product elements](/forum/4-how-to/68648-solved-padding-space-around-product-elements#68673 "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.")*

Hi there,

You simply need to add some css in the Hikashop front end css file (System&gt;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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzY4NjQ4LXNvbHZlZC1wYWRkaW5nLXNwYWNlLWFyb3VuZC1wcm9kdWN0LWVsZW1lbnRzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[mhunter](/forum/user/9679-mhunter "View mhunter's Profile")**
- [![mhunter's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/9679-mhunter "View mhunter's Profile") Topic Author
- [ Offline](/forum/user/9679-mhunter)

Less More

- Posts: 43
- Thank you received: 1
-
-

14 years 1 month ago [\#68688](#68688) by [mhunter](/forum/user/9679-mhunter "View mhunter's Profile")  Replied by *[mhunter](/forum/user/9679-mhunter "View mhunter's Profile")* on topic *[Re: Padding / space around product elements](/forum/4-how-to/68648-solved-padding-space-around-product-elements#68688 "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.")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzY4NjQ4LXNvbHZlZC1wYWRkaW5nLXNwYWNlLWFyb3VuZC1wcm9kdWN0LWVsZW1lbnRzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86592
- Thank you received: 14332
-
-

14 years 1 month ago [\#68690](#68690) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Padding / space around product elements](/forum/4-how-to/68648-solved-padding-space-around-product-elements#68690 "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.")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzY4NjQ4LXNvbHZlZC1wYWRkaW5nLXNwYWNlLWFyb3VuZC1wcm9kdWN0LWVsZW1lbnRzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[mhunter](/forum/user/9679-mhunter "View mhunter's Profile")**
- [![mhunter's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/9679-mhunter "View mhunter's Profile") Topic Author
- [ Offline](/forum/user/9679-mhunter)

Less More

- Posts: 43
- Thank you received: 1
-
-

14 years 1 month ago [\#68696](#68696) by [mhunter](/forum/user/9679-mhunter "View mhunter's Profile")  Replied by *[mhunter](/forum/user/9679-mhunter "View mhunter's Profile")* on topic *[Re: Padding / space around product elements](/forum/4-how-to/68648-solved-padding-space-around-product-elements#68696 "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.")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzY4NjQ4LXNvbHZlZC1wYWRkaW5nLXNwYWNlLWFyb3VuZC1wcm9kdWN0LWVsZW1lbnRzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[mhunter](/forum/user/9679-mhunter "View mhunter's Profile")**
- [![mhunter's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/9679-mhunter "View mhunter's Profile") Topic Author
- [ Offline](/forum/user/9679-mhunter)

Less More

- Posts: 43
- Thank you received: 1
-
-

14 years 1 month ago [\#68760](#68760) by [mhunter](/forum/user/9679-mhunter "View mhunter's Profile")  Replied by *[mhunter](/forum/user/9679-mhunter "View mhunter's Profile")* on topic *[Re: Padding / space around product elements](/forum/4-how-to/68648-solved-padding-space-around-product-elements#68760 "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.")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzY4NjQ4LXNvbHZlZC1wYWRkaW5nLXNwYWNlLWFyb3VuZC1wcm9kdWN0LWVsZW1lbnRzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.060 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
