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

#   Styling the add to cart button.

##

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

Less More

- Posts: 64
- Thank you received: 1
-
-

14 years 5 months ago [\#52057](#52057) by [londonstudio](/forum/user/7590-londonstudio "View londonstudio's Profile")  *[Styling the add to cart button.](/forum/2-general-talk-about-hikashop/52057-styling-the-add-to-cart-button#52057 "My Add to cart button is getting a little lost when surrounded by the rest of my content. Style it the following ways  1. Create 40px above and below clear space from the other elements. 2. Add a thin blue boarder around quantity and the add to cart button 3. Give the boarder rounded edges.  Any assistance would be appreciated.")* was created by *[londonstudio](/forum/user/7590-londonstudio "View londonstudio's Profile")*

My Add to cart button is getting a little lost when surrounded by the rest of my content.
Style it the following ways

1. Create 40px above and below clear space from the other elements.
2. Add a thin blue boarder around quantity and the add to cart button
3. Give the boarder rounded edges.

Any assistance would be appreciated.

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

14 years 5 months ago -  14 years 5 months ago [\#52081](#52081) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Re: Styling the add to cart button.](/forum/2-general-talk-about-hikashop/52057-styling-the-add-to-cart-button#52081 "My Add to cart button is getting a little lost when surrounded by the rest of my content. Style it the following ways  1. Create 40px above and below clear space from the other elements. 2. Add a thin blue boarder around quantity and the add to cart button 3. Give the boarder rounded edges.  Any assistance would be appreciated.")*

Hi,

The class to edit for the "add to cart" button is:
hikashop_cart_button

To edit the CSS, you can use "Firebug" to find the classes to edit.
Then, you can do something like that:
Code:

.hikashop_cart_button{ margin: 40px; border: 1px solid blue; -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; -khtml-border-top-left-radius: 4px; border-top-left-radius: 4px; }

You can follow this link for more informations:
[ ](http://www.hikashop.com/fr/support/documentation/faq.html#css)[ www.hikashop.com/fr/support/documentation/faq.html#css](http://www.hikashop.com/fr/support/documentation/faq.html#css)

Last edit: 14 years 5 months ago by [Xavier](/forum/user/4105-xavier "View Xavier's Profile").

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

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

Less More

- Posts: 64
- Thank you received: 1
-
-

14 years 5 months ago [\#52089](#52089) by [londonstudio](/forum/user/7590-londonstudio "View londonstudio's Profile")  Replied by *[londonstudio](/forum/user/7590-londonstudio "View londonstudio's Profile")* on topic *[Re: Styling the add to cart button.](/forum/2-general-talk-about-hikashop/52057-styling-the-add-to-cart-button#52089 "My Add to cart button is getting a little lost when surrounded by the rest of my content. Style it the following ways  1. Create 40px above and below clear space from the other elements. 2. Add a thin blue boarder around quantity and the add to cart button 3. Give the boarder rounded edges.  Any assistance would be appreciated.")*

Thank you Xavier for taking the time to answer my question. I appreciate it.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzUyMDU3LXN0eWxpbmctdGhlLWFkZC10by1jYXJ0LWJ1dHRvbj90bXBsPW1hcmtkb3du) 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.050 seconds

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