• Resolved ConradoLopez

    (@conradolopez)


    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=0

    Thank you very much.

    PD: On the production site, the error is not visible because I manually modified the CSS code as a temporary measure.

    • This topic was modified 7 months, 3 weeks ago by ConradoLopez.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support fizanzvai

    (@fizanzvai)

    Hi,

    Thanks for reaching out to us. It would be great if we could experience the issue from our end.

    Can you please give us a product link where we can check the issue? Hope to hear from you soon.

    Thank You

    Thread Starter ConradoLopez

    (@conradolopez)

    Hi, the site is fiorina.com.ar, but as I mentioned, on the production site, the error is not visible because I manually modified the CSS code as a temporary measure.

    Thanks

    Plugin Support fizanzvai

    (@fizanzvai)

    Hi,

    Please give me link from your staging site, where I can check the issue. Hope to hear from you soon.

    Thank You

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘When selecting a color the background turns white’ is closed to new replies.