How can I change the color of the size selection button?

Topic summary

A user wants to customize the size selection button on their product page with a specific background color (#202A44) and white font.

Solution provided:

  • Navigate to Shopify admin → Online Store → Themes → Actions → Edit code
  • Locate the CSS file in the Assets folder (base.css, style.css, or theme.css)
  • Add the following CSS code at the bottom:
input[type=radio]:checked+label {
  background: #202A44;
  color: white;
}

Current status:

  • Original poster confirmed the solution worked
  • A follow-up question emerged about applying this to the “Symmetry” theme specifically, with guidance to find the appropriate CSS file in the Assets folder
Summarized with AI on November 7. AI used: claude-sonnet-4-5-20250929.

Hey guys,

I want to change the button to select the size on the product page to the following background color: #202A44 and the font color white. Thank you!

https://ke85chq3rdnjic4m-69711397132.shopifypreview.com

1 Like

Hi @domo2 ,

Try this one.

  1. From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
  2. Find the theme that you want to edit and click on “Actions” and then “Edit code”.
  3. In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
  4. And Save.
fieldset.js.product-form__input input[type=radio]:checked+label {
    background: #202A44;
    color: white;
}

Result:

I hope it help.

Appreciate you!

1 Like

Hi,

Do you know where to add that code in the “symmetry” theme? I can’t find “base.css, style.css or theme.css” in the Assets folder.

Best

Jonas