Hi Guys,
I want to change to color of the variant picker buttons without changing the color of the text. This is a featured product block on the home page.
Right now they are black but they should have this color instead: #1a73c7.
Thank you in advance,
Best regards;)
1 Like
Hi @Heinrich123
Would you mind to share your Store URL website? with password if its unpublish. Thanks!
yes the domain is: https://a3e0cc-3.myshopify.com/ and the password is 1
1 Like
Thanks for the info, try this one.
- From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
- Find the theme that you want to edit and click on “Actions” and then “Edit code”.
- 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:
.product-form__input input[type=radio]:checked+label {
background: #1a73c7;
}
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!
I pasted it here:
But the preview still looks like this:
Whats my mistake?
1 Like
There is no mistake, can you replace the code on this.
.product-form__input input[type=radio]:checked+label {
background: #1a73c7 !important;
}
And Save.
Thanks!
3 Likes
Now it works thank you very much 