Product Hover Effect – Scale - by vincentdv

Solved1 reply2 participantsUpdated by Rose Tyler

  • Avatar: vincentdv
    vincentdv
    Participant

    Hi, I would like to achieve this effect, when I hover over the product, the image will scale a little. I tried adding custom css, but the whole wrapper including the price and basket move.

    Please, contact administrator
    for this information.

    1 Answer

    Avatar: Rose Tyler
    Rose Tyler
    Support staff

    Hello,

    Try to use this custom CSS code:

    .products-loop .product:hover img{
        -webkit-transform: scale(1.1) translateY(-4px);
        -ms-transform: scale(1.1) translateY(-4px);
        transform: scale(1.1) translateY(-4px);
    }
    .products-loop .product img {
        -webkit-transform: scale(1.1) translateY(4px);
        -ms-transform: scale(1.1) translateY(4px);
        transform: scale(1.1) translateY(4px);
        -webkit-transition: .35s cubic-bezier(.25,.46,.45,.94);
        -o-transition: .35s cubic-bezier(.25,.46,.45,.94);
        transition: .35s cubic-bezier(.25,.46,.45,.94);
    }

    Regards

The issue related to '‘Product Hover Effect – Scale’' has been successfully resolved, and the topic is now closed for further responses