Hi, can anyone help me how to change the border/corner radius for dropdown button in product variants. And also how to change font size in the dropdown. I have tried few css but cant find/target a correct element. Below is current dropdown
I want the border - sharp rectangle and smaller font size for input fields inside
Welcome to the Shopify Community! Please share your store URL and password (if it’s password-protected), so I can check and provide you with the exact solution.
The site which you’re referring to – Cityofclothing is password protected, can you disable the password or share it so we can provide you the accurate code?
Hello @veluxe1 Thanks for reaching out to Shopify community with your concern. Can you please provide the URL of your store and if it is password protected please share the password too. Thanks
Hello @veluxe1 Thanks for reaching out to Shopify community with your concern. Can you please provide the URL of your store and if it is password protected please share the password too. Thanks this is not a big deal for me i am waiting for your response .
If that doesn’t work, inspect the dropdown in your browser (F12) because some themes use different class names. You may need to target something like:
If your theme uses different class names, the selectors above may need to be adjusted.
Could you also let us know which Shopify theme you’re using (and its version)? If it’s a custom or third party theme, sharing your store URL (and password if it’s password protected) will help identify the correct selector and provide an exact solution.
If you found my reply helpful, feel free to mark it as the accepted solution so it can help other merchants following this discussion.
A small tip though: before adding custom CSS, check Theme Settings → Input fields → Corner radius.
If you set the global corner radius to 0, all form controls (search, quantity, inputs, etc.) will become square automatically. In that case, you only need custom CSS for the font size if you want the variant selector to use a smaller font.
If you’re planning to support multiple themes (Dawn, Horizon, Prestige, etc.), avoid relying on Horizon-specific class names. Instead, inspect the rendered markup in your theme and target the theme’s own variant picker classes, as these selectors can differ between themes.
If you can share your store URL (or a preview link), I can suggest the most appropriate selector for your specific theme.
In Shopify Dawn and most Official OS 2.0 themes, the variant dropdown selector uses a custom <select> class (.select__select / .product-form__input select).
Here is the exact CSS snippet to make the dropdown borders sharp rectangles (border-radius: 0) and reduce the font size: