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

#   button size for products

##

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

Less More

- Posts: 2
- Thank you received: 0
-

3 years 6 months ago [\#351371](#351371) by [roland-hartl](/forum/user/75502-roland-hartl "View roland-hartl's Profile")  *[button size for products](/forum/4-how-to/906328-button-size-for-products#351371 "-- url of the page with the problem -- :   www.acrylvitrinen.de  -- HikaShop version -- : 4.7.2 -- Joomla version -- : 4.3 -- PHP version -- : 8.025 -- Browser(s) name and version -- : FireFox -- Error-message(debug-mod must be tuned on) -- : No error, want to know how to set up and arange the btn next product in size  Hi, all is working fine and looks good, but I want to change the size of these buttons. They are to big, I want them smaller in hight and length, and I want space between them. Have a look at the pictures attached. Thanks for some advices, greetings, Roland Hartl")* was created by *[roland-hartl](/forum/user/75502-roland-hartl "View roland-hartl's Profile")*

-- url of the page with the problem -- : [ www.acrylvitrinen.de](https://www.acrylvitrinen.de)
-- HikaShop version -- : 4.7.2
-- Joomla version -- : 4.3
-- PHP version -- : 8.025
-- Browser(s) name and version -- : FireFox
-- Error-message(debug-mod must be tuned on) -- : No error, want to know how to set up and arange the btn next product in size

Hi, all is working fine and looks good, but I want to change the size of these buttons. They are to big, I want them smaller in hight and length, and I want space between them. Have a look at the pictures attached.
Thanks for some advices, greetings, Roland Hartl

- [ ![optionandproductdetails.jpg](/forum/attachment/56988) ](/forum/attachment/56988 "...uctdetails.jpg") [ ](/forum/attachment/56988?download=1 "...uctdetails.jpg")
- [ ![buttonfornextproduct.jpg](/forum/attachment/56989) ](/forum/attachment/56989 "...extproduct.jpg") [ ](/forum/attachment/56989?download=1 "...extproduct.jpg")

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

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

Less More

- Posts: 4820
- Thank you received: 652
-
-

3 years 6 months ago -  3 years 6 months ago [\#351372](#351372) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[button size for products](/forum/4-how-to/906328-button-size-for-products#351372 "-- url of the page with the problem -- :   www.acrylvitrinen.de  -- HikaShop version -- : 4.7.2 -- Joomla version -- : 4.3 -- PHP version -- : 8.025 -- Browser(s) name and version -- : FireFox -- Error-message(debug-mod must be tuned on) -- : No error, want to know how to set up and arange the btn next product in size  Hi, all is working fine and looks good, but I want to change the size of these buttons. They are to big, I want them smaller in hight and length, and I want space between them. Have a look at the pictures attached. Thanks for some advices, greetings, Roland Hartl")*

Hello,

Follow me step by step in order to teach you how to edit your display :
- First, have a look on this tutorial to see how to edit your Css file, **[ here](https://www.hikashop.com/support/documentation/272-hikashop-display-by-color.html#custom)**.
- Then create a custom **style** file, by clicking on the "**+**" **button**, and add your css commands.
- To elaborate your Css command, first you have to get the required Html **class** (or Id)
**1.** **Point** your element on the front end, and **right-click =&gt; Inspect** (or inspector tool)
**2.** A new window will open and show you the **html**, example :
[ ![alt](https://i.ibb.co/4Wy7zRr/inspect2.png) ](https://i.ibb.co/4Wy7zRr/inspect2.png "alt")

- Example of your Css command, you can use : Code:

.required_class { // Button dimensions : width: 55px // OR 70px or 90px etc... height: 35px // OR 40px etc... } .required_class { // Create space between your button : margin: 5px 10px 5px 10px; // 5px for top, 10 px right, 5px for bottom, 10px for left }

Hope this will help you to achieve your needs.
Regards

Last edit: 3 years 6 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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

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

Less More

- Posts: 2
- Thank you received: 0
-

3 years 6 months ago -  3 years 6 months ago [\#351378](#351378) by [roland-hartl](/forum/user/75502-roland-hartl "View roland-hartl's Profile")  Replied by *[roland-hartl](/forum/user/75502-roland-hartl "View roland-hartl's Profile")* on topic *[button size for products](/forum/4-how-to/906328-button-size-for-products#351378 "-- url of the page with the problem -- :   www.acrylvitrinen.de  -- HikaShop version -- : 4.7.2 -- Joomla version -- : 4.3 -- PHP version -- : 8.025 -- Browser(s) name and version -- : FireFox -- Error-message(debug-mod must be tuned on) -- : No error, want to know how to set up and arange the btn next product in size  Hi, all is working fine and looks good, but I want to change the size of these buttons. They are to big, I want them smaller in hight and length, and I want space between them. Have a look at the pictures attached. Thanks for some advices, greetings, Roland Hartl")*

Thanks for your explanation,
I do understand (hopefully) what to do, but did not succeed.
I found the "shop.css" in template section.
I added at the bottom:
.hkbadge {
// Create space between your button :
margin: 5px 10px 5px 10px; // 5px for top, 10 px right, 5px for bottom, 10px for left
}
but nothing changes. Did I use a wrong class? What to do?
I will once more attach a picture from what I want to change these are buttons from the product overview.

Sorry I didnt find hika-shop.css ! I do have a template from joomlaplates.com, this is named "tp-shop" and has hika-shop included.

By the way: is it possible to attach the shop.css? I will try. - this seems not to be possible, is there a way to transfer? Thanks, Roland

- [ ![buttonsproductoverview.jpg](/forum/attachment/56990) ](/forum/attachment/56990 "...ctoverview.jpg") [ ](/forum/attachment/56990?download=1 "...ctoverview.jpg")

Last edit: 3 years 6 months ago by [roland-hartl](/forum/user/75502-roland-hartl "View roland-hartl's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzkwNjMyOC1idXR0b24tc2l6ZS1mb3ItcHJvZHVjdHM/dG1wbD1tYXJrZG93bg==) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86570
- Thank you received: 14314
-
-

3 years 6 months ago [\#351380](#351380) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[button size for products](/forum/4-how-to/906328-button-size-for-products#351380 "-- url of the page with the problem -- :   www.acrylvitrinen.de  -- HikaShop version -- : 4.7.2 -- Joomla version -- : 4.3 -- PHP version -- : 8.025 -- Browser(s) name and version -- : FireFox -- Error-message(debug-mod must be tuned on) -- : No error, want to know how to set up and arange the btn next product in size  Hi, all is working fine and looks good, but I want to change the size of these buttons. They are to big, I want them smaller in hight and length, and I want space between them. Have a look at the pictures attached. Thanks for some advices, greetings, Roland Hartl")*

Hi,

I would recommend you to check this tutorial:
[ www.hikashop.com/support/documentation/1...ize-the-display.html](https://www.hikashop.com/support/documentation/153-customize-the-display.html)

The hkbadge class is not used on the buttons of your pages. It was just a random example from Philippe.
If you actually look at the add to cart buttons on your pages, you can see they use the classes:
btn btn-small btn-primary hikacart

For example, you could add such CSS: Code:

.btn { margin: 5px !important; padding: 8px !important; }

There is no need to send us the shop.css file.
Note that your template compresses its CSS files. So if you change the CSS files of your template, you might need to clear its cache in order to see any change. You might want to check with your template provider what they recommend to add custom CSS to it so that you don't lose your changes when updating the template in the future.

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

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