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

Solved

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

domo2
Explorer
78 0 19

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

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
10211 2427 3081

This is an accepted solution.

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:

Ribe_Dagandara_0-1689782719489.png

I hope it help. 

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.

View solution in original post

Replies 3 (3)

Made4uo-Ribe
Shopify Partner
10211 2427 3081

This is an accepted solution.

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:

Ribe_Dagandara_0-1689782719489.png

I hope it help. 

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
domo2
Explorer
78 0 19

Appreciate you!

Barfußwelten
New Member
4 0 0

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