Jump to content

Help zoom hover on Product image

Recommended Posts

Posted

Hi everyone !

I've spent a couple of hours hopelessly trying to figure out how to modify the scale zoom effect on hovering the product image.

You can check the following page: https://www.creativemattersinc.com/stock/p/test 

When I hover the product image, it is zoomed in so much that we can see the image quality deteriorating. I've checked on DevTools and see that the affected class is "product-image-zoom-duplicate loaded" and the applied style is "transform: scale (5)", which justifies why the image is zoomed in so much. I'd like the style to be reduced to "transform: scale (1.5)".

I don't know if I can change this directly in Squarespace default settings or I should apply some CSS, so far I haven't found any convenient solution,  I tried to apply this code but it doesn't seem to work, neither by adding the :hover state.

.product-image-zoom-duplicate {
  transform: scale (1.5) !important 
}

Strangely enough, when I change it to " transform: none !important", the instruction was followed and the zoom effect is no longer applicable.

When I checked other ecommerce website built on Squarespace with the zoom hover effect on products, it seems that the default scale zoom is 1.5 o 1.75, never as high as 5 so I don't understand how it was set that much ...

Anyone has an idea?

Thanks a lot in advance for your help !

  • Replies 1
  • Views 759
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

Posted
27 minutes ago, vinh said:

When I hover the product image, it is zoomed in so much that we can see the image quality deteriorating. When I checked other ecommerce website built on Squarespace with the zoom hover effect on products, it seems that the default scale zoom is 1.5 or 1.75, never as high as 5.

I can reproduce the same issue - the zoom level is too high. It only allows the user to zoom in on a tiny portion of the product:

image.gif.c3096132480f4061e6e104a416145b56.gif

I recommend you report this to Squarespace to see if this is a known issue with the product hover zoom feature at the moment. Let us know how you get on.

Did this help? Please give feedback by clicking an icon below  ⬇️

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.