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

#   size of the variants button

##

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

Less More

- Posts: 39
- Thank you received: 3
-

2 years 11 months ago [\#357473](#357473) by [C3zehn](/forum/user/47285-c3zehn "View C3zehn's Profile")  *[size of the variants button](/forum/26-product-category-display/907439-size-of-the-variants-button#357473 "-- url of the page with the problem -- :   www.wolfundbaer.info  -- HikaShop version -- : 5.0.2. -- Joomla version -- : 5.0.0 -- PHP version -- : 8.2  Hello everyone,  if I have the variants (as image button) and I want to change the size of the button (now the image that I have uploaded has 60x60px) can I just make it 40x40px or do I have to upload new images with the size)? Thank you Andy")* was created by *[C3zehn](/forum/user/47285-c3zehn "View C3zehn's Profile")*

-- url of the page with the problem -- : [ www.wolfundbaer.info](http://www.wolfundbaer.info)
-- HikaShop version -- : 5.0.2.
-- Joomla version -- : 5.0.0
-- PHP version -- : 8.2

Hello everyone,

if I have the variants (as image button) and I want to change the size of the button (now the image that I have uploaded has 60x60px) can I just make it 40x40px or do I have to upload new images with the size)?
Thank you
Andy  [ ![screen5.png](/forum/attachment/58405) ](/forum/attachment/58405 "screen5.png")

- [ ![screen5.png](/forum/attachment/58405) ](/forum/attachment/58405 "screen5.png") [ ](/forum/attachment/58405?download=1 "screen5.png")

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

2 years 11 months ago -  2 years 11 months ago [\#357482](#357482) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[size of the variants button](/forum/26-product-category-display/907439-size-of-the-variants-button#357482 "-- url of the page with the problem -- :   www.wolfundbaer.info  -- HikaShop version -- : 5.0.2. -- Joomla version -- : 5.0.0 -- PHP version -- : 8.2  Hello everyone,  if I have the variants (as image button) and I want to change the size of the button (now the image that I have uploaded has 60x60px) can I just make it 40x40px or do I have to upload new images with the size)? Thank you Andy")*

Hello,

A little like a previous thread, it's possible to define the size of your icon via **custom Css**, see my screenshot :
[ ![alt](https://i.ibb.co/2ZH69KY/screenshot1.png) ](https://i.ibb.co/2ZH69KY/screenshot1.png "alt")

Hope this will help you to achieve your needs.
Regards

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

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

- **[SNAP-GT](/forum/user/57387-snap-gt "View SNAP-GT's Profile")**
- [![SNAP-GT's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/57387-snap-gt "View SNAP-GT's Profile")
- [ Offline](/forum/user/57387-snap-gt)

Less More

- Posts: 9
- Thank you received: 1
-
-

2 years 11 months ago [\#357507](#357507) by [SNAP-GT](/forum/user/57387-snap-gt "View SNAP-GT's Profile")  Replied by *[SNAP-GT](/forum/user/57387-snap-gt "View SNAP-GT's Profile")* on topic *[size of the variants button](/forum/26-product-category-display/907439-size-of-the-variants-button#357507 "-- url of the page with the problem -- :   www.wolfundbaer.info  -- HikaShop version -- : 5.0.2. -- Joomla version -- : 5.0.0 -- PHP version -- : 8.2  Hello everyone,  if I have the variants (as image button) and I want to change the size of the button (now the image that I have uploaded has 60x60px) can I just make it 40x40px or do I have to upload new images with the size)? Thank you Andy")*

> C3zehn wrote: if I have the variants (as image button)
>
>  [ ![screen5.png](/forum/attachment/58405) ](/forum/attachment/58405 "screen5.png")

It's very nice, can you explain how you make that. Is it a standard option of Hikashop?

Regards,

Stephan

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

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

Less More

- Posts: 39
- Thank you received: 3
-

2 years 11 months ago [\#357514](#357514) by [C3zehn](/forum/user/47285-c3zehn "View C3zehn's Profile")  Replied by *[C3zehn](/forum/user/47285-c3zehn "View C3zehn's Profile")* on topic *[size of the variants button](/forum/26-product-category-display/907439-size-of-the-variants-button#357514 "-- url of the page with the problem -- :   www.wolfundbaer.info  -- HikaShop version -- : 5.0.2. -- Joomla version -- : 5.0.0 -- PHP version -- : 8.2  Hello everyone,  if I have the variants (as image button) and I want to change the size of the button (now the image that I have uploaded has 60x60px) can I just make it 40x40px or do I have to upload new images with the size)? Thank you Andy")*

Hi,

if i do this in the CSS than it looks like this:

small, big and also in the up Pic

andy  [ ![screen6.png](/forum/attachment/58415) ](/forum/attachment/58415 "screen6.png")

- [ ![screen6.png](/forum/attachment/58415) ](/forum/attachment/58415 "screen6.png") [ ](/forum/attachment/58415?download=1 "screen6.png")

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

2 years 11 months ago [\#357515](#357515) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[size of the variants button](/forum/26-product-category-display/907439-size-of-the-variants-button#357515 "-- url of the page with the problem -- :   www.wolfundbaer.info  -- HikaShop version -- : 5.0.2. -- Joomla version -- : 5.0.0 -- PHP version -- : 8.2  Hello everyone,  if I have the variants (as image button) and I want to change the size of the button (now the image that I have uploaded has 60x60px) can I just make it 40x40px or do I have to upload new images with the size)? Thank you Andy")*

Hello,

You have to add **custom Css** in your style custom file, like explained in **[ this topic](https://www.hikashop.com/forum/product-category-display/907368-button-direkt-klick.html#357294)** of our forum.
The command shown in my screenshot to add is : Code:

.hikashop_characteristic_line_24 .form-check.form-check-inline label img { width: 40px; }

Where the ".hikashop_characteristic_line_24" will restrict your command to be apply only on the required characteristic.

Regards

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

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

Less More

- Posts: 39
- Thank you received: 3
-

2 years 11 months ago [\#357545](#357545) by [C3zehn](/forum/user/47285-c3zehn "View C3zehn's Profile")  Replied by *[C3zehn](/forum/user/47285-c3zehn "View C3zehn's Profile")* on topic *[size of the variants button](/forum/26-product-category-display/907439-size-of-the-variants-button#357545 "-- url of the page with the problem -- :   www.wolfundbaer.info  -- HikaShop version -- : 5.0.2. -- Joomla version -- : 5.0.0 -- PHP version -- : 8.2  Hello everyone,  if I have the variants (as image button) and I want to change the size of the button (now the image that I have uploaded has 60x60px) can I just make it 40x40px or do I have to upload new images with the size)? Thank you Andy")*

Hello Stephan,

I use Hika Buisness, this is possible via the properties.

I have created small buttons (i.e. images) and uploaded them and added them to my product via the properties

Greetings
Andy

The following user(s) said Thank You: [SNAP-GT](/forum/user/57387-snap-gt "View SNAP-GT's Profile")

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

- **[SNAP-GT](/forum/user/57387-snap-gt "View SNAP-GT's Profile")**
- [![SNAP-GT's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/57387-snap-gt "View SNAP-GT's Profile")
- [ Offline](/forum/user/57387-snap-gt)

Less More

- Posts: 9
- Thank you received: 1
-
-

2 years 11 months ago -  2 years 11 months ago [\#357558](#357558) by [SNAP-GT](/forum/user/57387-snap-gt "View SNAP-GT's Profile")  Replied by *[SNAP-GT](/forum/user/57387-snap-gt "View SNAP-GT's Profile")* on topic *[size of the variants button](/forum/26-product-category-display/907439-size-of-the-variants-button#357558 "-- url of the page with the problem -- :   www.wolfundbaer.info  -- HikaShop version -- : 5.0.2. -- Joomla version -- : 5.0.0 -- PHP version -- : 8.2  Hello everyone,  if I have the variants (as image button) and I want to change the size of the button (now the image that I have uploaded has 60x60px) can I just make it 40x40px or do I have to upload new images with the size)? Thank you Andy")*

> C3zehn wrote: Hello Stephan,
>
> I use Hika Buisness, this is possible via the properties.
>
> I have created small buttons (i.e. images) and uploaded them and added them to my product via the properties
>
> Greetings
> Andy

Thank you for your reply.

@Philip : Is these feature also in Essential version or only in Business version?

Last edit: 2 years 11 months ago by [SNAP-GT](/forum/user/57387-snap-gt "View SNAP-GT's Profile").

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

2 years 11 months ago -  2 years 11 months ago [\#357570](#357570) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[size of the variants button](/forum/26-product-category-display/907439-size-of-the-variants-button#357570 "-- url of the page with the problem -- :   www.wolfundbaer.info  -- HikaShop version -- : 5.0.2. -- Joomla version -- : 5.0.0 -- PHP version -- : 8.2  Hello everyone,  if I have the variants (as image button) and I want to change the size of the button (now the image that I have uploaded has 60x60px) can I just make it 40x40px or do I have to upload new images with the size)? Thank you Andy")*

Hello,

That's not a feature or an option, it's a custom Css, you have to click on the link **[ "this topic"](https://www.hikashop.com/forum/product-category-display/907439-size-of-the-variants-button.html#357515)** in this message in order to learn **how to add your custom Css** (shown in the **same** message).
Regards

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

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

- **[SNAP-GT](/forum/user/57387-snap-gt "View SNAP-GT's Profile")**
- [![SNAP-GT's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/57387-snap-gt "View SNAP-GT's Profile")
- [ Offline](/forum/user/57387-snap-gt)

Less More

- Posts: 9
- Thank you received: 1
-
-

2 years 11 months ago [\#357596](#357596) by [SNAP-GT](/forum/user/57387-snap-gt "View SNAP-GT's Profile")  Replied by *[SNAP-GT](/forum/user/57387-snap-gt "View SNAP-GT's Profile")* on topic *[size of the variants button](/forum/26-product-category-display/907439-size-of-the-variants-button#357596 "-- url of the page with the problem -- :   www.wolfundbaer.info  -- HikaShop version -- : 5.0.2. -- Joomla version -- : 5.0.0 -- PHP version -- : 8.2  Hello everyone,  if I have the variants (as image button) and I want to change the size of the button (now the image that I have uploaded has 60x60px) can I just make it 40x40px or do I have to upload new images with the size)? Thank you Andy")*

> Philip wrote: Hello,
>
> That's not a feature or an option, it's a custom Css, you have to click on the link **[ "this topic"](https://www.hikashop.com/forum/product-category-display/907439-size-of-the-variants-button.html#357515)** in this message in order to learn **how to add your custom Css** (shown in the **same** message).
> Regards

OK, I'll check that.

I have a question about these style of button. Do you think it is possible to combine this button style with stock states? For example, if the stock is at 1, we would display an orange button, if the stock is at 0, a red button and in other cases, a green button?

I'm a beginner in php/css but I never give up. If it's feasible, I'll manage to do it.

Regards,

Stephan

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

2 years 11 months ago -  2 years 11 months ago [\#357597](#357597) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[size of the variants button](/forum/26-product-category-display/907439-size-of-the-variants-button#357597 "-- url of the page with the problem -- :   www.wolfundbaer.info  -- HikaShop version -- : 5.0.2. -- Joomla version -- : 5.0.0 -- PHP version -- : 8.2  Hello everyone,  if I have the variants (as image button) and I want to change the size of the button (now the image that I have uploaded has 60x60px) can I just make it 40x40px or do I have to upload new images with the size)? Thank you Andy")*

Hello,

We can guide you to achieve this, but then provide these elements :
- And **Url link** to allow us to see the context.
- A **screenshot** showing your "**+**" **button** (in red bordered) in order to be sure that we speak about the **same** button.
**=&gt;** The custom can be widely different from a button to another (and from a context too).
Awaiting your elements.

Regards

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

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

- **[SNAP-GT](/forum/user/57387-snap-gt "View SNAP-GT's Profile")**
- [![SNAP-GT's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/57387-snap-gt "View SNAP-GT's Profile")
- [ Offline](/forum/user/57387-snap-gt)

Less More

- Posts: 9
- Thank you received: 1
-
-

2 years 11 months ago [\#357614](#357614) by [SNAP-GT](/forum/user/57387-snap-gt "View SNAP-GT's Profile")  Replied by *[SNAP-GT](/forum/user/57387-snap-gt "View SNAP-GT's Profile")* on topic *[size of the variants button](/forum/26-product-category-display/907439-size-of-the-variants-button#357614 "-- url of the page with the problem -- :   www.wolfundbaer.info  -- HikaShop version -- : 5.0.2. -- Joomla version -- : 5.0.0 -- PHP version -- : 8.2  Hello everyone,  if I have the variants (as image button) and I want to change the size of the button (now the image that I have uploaded has 60x60px) can I just make it 40x40px or do I have to upload new images with the size)? Thank you Andy")*

> Philip wrote: Hello,
>
> We can guide you to achieve this, but then provide these elements :
> \- And **Url link** to allow us to see the context.
> \- A **screenshot** showing your "**+**" **button** (in red bordered) in order to be sure that we speak about the **same** button.
> **=&gt;** The custom can be widely different from a button to another (and from a context too).
> Awaiting your elements.
>
> Regards

It's something like this :
[ ![example.png](/forum/attachment/58421) ](/forum/attachment/58421 "example.png")

Is it possible?

Regards

- [ ![example.png](/forum/attachment/58421) ](/forum/attachment/58421 "example.png") [ ](/forum/attachment/58421?download=1 "example.png")

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

2 years 11 months ago -  2 years 11 months ago [\#357643](#357643) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[size of the variants button](/forum/26-product-category-display/907439-size-of-the-variants-button#357643 "-- url of the page with the problem -- :   www.wolfundbaer.info  -- HikaShop version -- : 5.0.2. -- Joomla version -- : 5.0.0 -- PHP version -- : 8.2  Hello everyone,  if I have the variants (as image button) and I want to change the size of the button (now the image that I have uploaded has 60x60px) can I just make it 40x40px or do I have to upload new images with the size)? Thank you Andy")*

Hello,

**Without** context, it's almost impossible to answer.
We need to see the page, with his settings and situation, that's why we need the **url link** where you want ot have this.
Regards

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

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

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