Shopify themes, liquid, logos, and UX
Hey Guys,
I want to change the coloring of the variant buttons. Using this css code it changes it for desktop:
.product-form__input input[type=radio]:checked+label {
background: #1a73c7 !important;
}
but on mobile the buttons are still black.
The domain is: printnotes.de password: 1
Thanks in advance,
best regards
Solved! Go to the solution
This is an accepted solution.
Hi @Heinrich123
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag
<style>
variant-radios .product-form__input input[type=radio]:checked+label {
background: #1a73c7!important;
}
</style>
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Makka
Hello @Heinrich123
You can try this code: it will be helpful to you
Go to the Online Store->Theme->Edit code->Assets->base.css>Add this code at the bottom.
@media only screen and (max-width: 600px){
.product-form__input input[type=radio]:checked+label {
background: #1a73c7 !important;
}
}
This is an accepted solution.
Hi @Heinrich123
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag
<style>
variant-radios .product-form__input input[type=radio]:checked+label {
background: #1a73c7!important;
}
</style>
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Makka
Thank you my friend!
Thank you so much. This solved it
Hey Makka, been a long time since you answered this question, but I´m having the exact same issue and even after trying your code the issue presists. Do you think yoiu could help me out please?
Hi @Caldeira ,
You can private message me with the Store URL and i will let you know the solution as per the theme.
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024