How can I modify the design of quantity buttons on my product page?

Hey there,

right now my product page has a seleciton of 4 different quantities, that the customer can choose from:

my site: https://www.bamboostar.de/products/bamboostar-bambus-socken-3er-pack-uber-den-knochel-socken?variant=44550504972552

I think the buttons are too small and it is a bit too hard to see what the actual promise is. My target audience is older.

I would like to change the design tolook like here, but with 4 variants and the same rounding of the buttons as my other buttons above.

site of reference:

Does anyone know how I can change the design?

I am using debut theme and I am thankful for any help here really!

Thank you!

Hi @timotheusb1 ,

I checked it and don’t see it, have you tried to enable it?

Hi @namphan ,

sorry I had selected the wrong Theme.

Now it is visible

Hi @timotheusb1 ,

I checked and it still doesn’t show

@namphan I am so sorry, something went wrong.

Now it works!

Hi @timotheusb1 ,

Please go to Actions > Edit code > Assets > theme.css file and paste this at the bottom of the file:

.radio.qb-quantity.flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.radio.qb-quantity.qb-quantity-range {
    border: 1px solid #1c1c1c;
    padding: 10px;
	width: 100%;
    flex: 0 0 30%;
    min-height: auto;
}
.radio.qb-quantity.qb-quantity-range label {
    min-height: 35px;
    height: 100%;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
}
.radio.qb-quantity.qb-quantity-range label::after {
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
}
.radio.qb-quantity.qb-quantity-range .qb-price {
	border-top: 1px solid #1c1c1c;
}

Hope it helps!

Hi @namphan , thank you very much for the description & help.

This is how it looks now:

Dou you have an idea how we could adjust the styling, that:

  1. All 4 quantity options are horizontally next to each other, just like with the color variant?
  2. The deal (10,20,30% off) is visible and easy to understand for the customer
  3. All of this is applicable to mobile view

Thankful for the help and any suggestions!

Tim