Change variant picker to square

Change variant picker to square

ads18922
Pathfinder
173 0 50

Hello, i want to change my variant picker to square for my sizes without changing my color swatches:

Screenshot 2025-03-18 at 15.40.07.png

As you can see the Ring Size is currently a circle, i want it to look like this:

Screenshot 2025-03-18 at 15.42.20.png

where it is a square/rectangle

my website is www.alexadrawestbrook.com , theme is dawn

Replies 3 (3)

pawankumar
Shopify Partner
710 102 123

Hi @ads18922 
Please put this css in theme.liquid before body closing tag </body>

<style>
fieldset.js.product-form__input.product-form__input--pill label {
    border-radius: 0.625rem;
    padding: 2rem 3rem;
}
</style>

Thanks!

- Need a Shopify developer? Chat on WhatsApp +91-9467121281
- Coffee Tip: Buymeacoffee  | Email: thepkpawankumar@gmail.com
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
Best regards,
Pawan
ads18922
Pathfinder
173 0 50

hello, this didnt work

PageFly-Richard
Shopify Partner
5011 1120 1802

Hi @ads18922 

 

This is Richard from PageFly - Shopify Page Builder App

 

Please add this code to your theme.liquid above the </head> to get this solved

Step 1: Online Stores > Themes > More Actions > Edit code

Step 2: click on theme.liquid and paste the code above the </head>

 
 
<style>
.product-form__input--pill label {
    border-radius: 5px !important;
}
</style>
 

PageFlyRichard_0-1742346875256.png

 

 

Hope this can help you solve the issue 

 

Best regards,

Richard | PageFly 

Please let me know if it works by giving it a Like or marking it as a solution!


➜ Optimize your Shopify store with PageFly Page Builder (Free plan available) 


All features are available from Free plan. Live Chat Support is available 24/7.