Prod img swap mode problem with png - by Valeria

Solved1 reply2 participantsUpdated by Rose Tyler

  • Avatar: Valeria
    Valeria
    Participant

    Hope you can help me: my product images are PNG – in swap mode (on hover) i see the second image covering the starting image .. there is a way to – on hover – display:none or opacity :0 the back image ….or anything you suggest …tnx very much – https://prnt.sc/xrx0oo

    1 Answer

    Avatar: Rose Tyler
    Rose Tyler
    Support staff

    Hello,

    You can use the next custom CSS code:

    .content-product img {
        transition: all .3s;
    }
    .content-product:hover .image-swap ~ img {
        opacity: 0;
        visibility: hidden;
    }

    Regards

The issue related to '‘prod img swap mode problem with png’' has been successfully resolved, and the topic is now closed for further responses