Shopify themes, liquid, logos, and UX
Hello,
How do I change the button color for the selected size and material? Right now it's outlined with a border. I want the selected buttons to be black with white text.
Thanks for your help!
Solved! Go to the solution
This is an accepted solution.
Hi @treedesign ,
You can find this class in theme.css file and edit the following code. It will be done as you need.
.product-form__swatch__item--button input[type=radio]:checked+label {
background: black;
color: white;
}
If you find it difficult, You can ping me a message and give access. I will do that for you.
Thanks,
EcomRAZ
Hi @treedesign ,
Can you please share website link so I can check the button?
Thanks,
EcomRAZ
This is an accepted solution.
Hi @treedesign ,
You can find this class in theme.css file and edit the following code. It will be done as you need.
.product-form__swatch__item--button input[type=radio]:checked+label {
background: black;
color: white;
}
If you find it difficult, You can ping me a message and give access. I will do that for you.
Thanks,
EcomRAZ
User | RANK |
---|---|
223 | |
150 | |
63 | |
49 | |
45 |
Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...
By Jacqui Mar 10, 2023Upskill and stand out with the new Shopify Foundations Certification program
By SarahF_Shopify Mar 6, 2023One of the key components to running a successful online business is having clear and co...
By Ollie Mar 6, 2023