How to change the color of the Variable products and swatches placeholders?
-
Please, I would like to change the hover color and active color of the placeholders in the product variants from black to the primary color like that of the cart button..
I attach screenshots for greater clarity
Attachments:
You must be
logged in to view attached files.
Hello,
Please send me the URL link to the website so I can look closer at it.
Thank you in advance.
Kind Regards
Hello,
Try to use the code below for help. Define it in Theme Settings -> Custom CSS.
.single-product [class*="wd-swatches"].wd-text-style-4 .wd-swatch.wd-text:is(.wd-active,:hover:not(.wd-disabled)) {
background-color: var(--wd-primary-color);
}
Kind Regards
Hello,
You are welcome! Always remember that you can reach out to us with any questions you may have.
Have a good day!
Kind Regards
The topic ‘How to change the color of the Variable products and swatches placeholders?’ is closed to new replies.