change shape of variant picker to rectangle, dawn theme

Solved

change shape of variant picker to rectangle, dawn theme

ads18922
Pathfinder
170 0 50

Hello, i would like to change my variant picker shape to rectangle (only the size picker, as i have swatches for the color picker). This is my website:

Screenshot 2025-03-18 at 15.40.07.png

as you can see, the 'Ring Size' is a circle. I would like it to look something like this:

Screenshot 2025-03-18 at 15.42.20.png

where the size is a rectangle.

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

Accepted Solution (1)

PageFly-Richard
Shopify Partner
5011 1120 1802

This is an accepted solution.

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-1742345850088.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.

View solution in original post

Replies 3 (3)

Michael-Thomas
Shopify Partner
86 16 22

Hi @ads18922 

 

Try adding this CSS into theme settings > CSS

 

.product-form__input--pill label{border-radius:3px!important;padding:8px 15px!important;border:1px solid #000!important}.product-form__input--pill input[type="radio"]:checked+label{background:#000!important;color:#fff!important}.product-form__input--pill label:hover{background-color:#f5f5f5!important}

 

Hope it helps. 

Found this helpful? Please Like & Mark as Solution — I truly appreciate it!
Connect with me | Get a Shopify Store with an Unlimited Free Trial – No Credit Card Needed! | ❤️ Support my work, If You’d Like!

PageFly-Richard
Shopify Partner
5011 1120 1802

This is an accepted solution.

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-1742345850088.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.

Easify-Jolie
Shopify Partner
268 9 26

Hi @ads18922 

If you want to try an app, Easify Product Options lets you customize option styles easily. You can set your size picker to a rectangle with no coding needed! Here's how it works:

  • This is the result:

EasifyJolie_1-1742369049844.png

  • This is the app setting: 

EasifyJolie_0-1742368953979.png

 

You can select the option shape here: 

EasifyJolie_2-1742369578437.png

 

This app is easy to use, and I highly recommend giving it a try. If you need any help, feel free to ask or contact Easify! 🤗

Easify Product Options: Any product options app can help you create custom options, but Easify turns those options into sales and conversions!
Easify Inventory Sync: Automate inventory syncing for Bundles, Duplicates, and Raw Materials. Say goodbye to manual tracking headaches.
Easify Product Attachments: Enrich your store with downloadable content. Easily add PDFs and other files to product or any page.
>>> Try Apps for Free | 24/7 Live Chat Support