Jump to content

Image zoom for images with links

Go to solution Solved by tuanphan,

Recommended Posts

Hi,

I was given the code below to make images with links zoom upon hover. I only changed the scale number to meet my needs.

How can I apply this code to this page's images that have links?

https://coral-elk-m3e7.squarespace.com/teachers

password: yoga

 

Thanks in advance!

 

body#collection-656c8ef744d7061e0779f189 .image-block:hover img {
    transform: scale(1.1);
    transition: all 0.3s;
}
.image-block img {
    transition: all 0.3s;
}
 

Link to comment
  • Solution

Use this new code for teachers page & another page

body#collection-656c8ef744d7061e0779f189, body#collection-657b459fd5e9d7407cf32dfd {
.image-block:hover img {
    transform: scale(1.1);
    transition: all 0.3s;
}
.image-block img {
    transition: all 0.3s;
}}

 

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.