Product Variant Button Design Styling

Product Variant Button Design Styling

JustinasR
Excursionist
22 0 6

Hi, im trying to add a new style to my variant buttons. Currently struggling to add the small inner circle within the button. Could anyone help me out with a code for this? Greatly appreciated!

 

Link: https://www.mansome.eu/collections/trimmers/products/the-lowrider

 

The button element is called: .option-value.option-value-rounded {

 

Here is what I want.

 

JustinasR_0-1742291033308.png

And here is what I currently have: 

JustinasR_1-1742291068058.png

 

 

Replies 5 (5)

Mustafa_Ali
Excursionist
329 24 53
.option-value.option-value-rounded.option-selected {
    border: 0px solid transparent !important;
    box-shadow: inset 0 0 0 0px var(--color_accent), inset 0 0 0 1px var(--color_border) !important;
}

MustafA16_0-1742293846980.png

Go to online store ----> themes ----> go to three Dots ----> edit code ---->find theme.liquid files ----> place the code ---->
under the <style> tag before the body ----->
if this code work please do not forget to like and mark it solution

 

 

JustinasR
Excursionist
22 0 6

Thanks, however thats not what I asked for. I want to add the inner circle element.

JustinasR_0-1742294491644.png

 

JustinasR
Excursionist
22 0 6

@Mustafa_Ali Would you please be able to send updated code with the inside bullet point inner circle included? Would be much appreciated. Thanks

CodingFifty
Shopify Partner
913 136 166

Hi @JustinasR,

 

Yes, it can be done, but you will have to adjust the code.

Coding Fifty || Shopify Partner
For any custom section queries, please visit: Fiverr Profile
Found my response useful? Like it and mark as Accepted Solution!
For additional discussions, reach out via: Email ID: codingfifty@gmail.com
JustinasR
Excursionist
22 0 6

Im aware of that.. Code is what im looking for..