Jump to content

Hover Zoom effect

Recommended Posts

Hi!

I have been running into some issue with the over zoom effect on my site. Whenever I use this....

#collection-5f165ce0b9ec1e5fe9722c34:hover img {
  transform: scale(1.1); 
  transition: .4s ease-in-out;
}

#collection-5f165ce0b9ec1e5fe9722c34 img {
  transform: scale(1); 
  transition: .4s ease-in-out;
}
 

The whole section zooms in not just the singular image. Would any one be able to help me figure this out, I am new to coding so I am unsure what I am doing wrong. 

Thanks!

Link to comment
  • Replies 1
  • Views 302
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Hi,

Can you share link to page where you use image? 

Above id is collection id. To apply on specific image, you need to target block id.

Use this tool to find block id. https://chrome.google.com/webstore/detail/squarespace-id-finder/igjamfnifnkmecjidfbdipieoaeghcff?hl=en

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

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.