When selecting a color the background turns white
-
Hello, I’m noticing a strange behavior. When selecting a color, the background of the item turns white. It seems to be caused by this line of code:
/* plugins/woo-variation-swatches/assets/css/frontend.min.css */ .woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).button-variable-item.selected:not(.no-stock) { background-color: var(--wvs-selected-item-background-color, #fff); color: var(--wvs-selected-item-text-color, #000); }
How can I avoid this behaviour and keep the original color?
You can see it here:
https://www.dropbox.com/scl/fi/mwkdd81v3at5f09ozwu5c/fiorina-variation-swatches-demo.png?rlkey=j9mz8ofzotxfggu18sg0aghk9&dl=0Thank you very much.
PD: On the production site, the error is not visible because I manually modified the CSS code as a temporary measure.
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘When selecting a color the background turns white’ is closed to new replies.