Prod img swap mode problem with png - by Valeria

This topic has 2 replies, 2 voices, and was last updated 4 years ago ago by Rose Tyler

  • Avatar: Valeria
    Valeria
    Participant
    January 28, 2021 at 22:54

    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
    January 29, 2021 at 09:03

    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

  • Viewing 2 results - 1 through 2 (of 2 total)

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

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.