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.
This topic has 2 replies, 2 voices, and was last updated 4 years, 2 months ago ago by Rose Tyler
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.
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