Jump to content

Zoom in hover effect on homepage

Recommended Posts

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Add to Design > Custom CSS

/* homepage image effect */
body.homepage .image-block img {
    transition: all 0.2s;
}
body.homepage .image-block:hover img {
    transform: scale(1.2);
    transition: all 0.2s;
}
body.homepage .image-block {
    overflow: hidden;
}

 

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

Try new code

/* homepage image effect */
div#page-section-602229b710c48c03e7757b96>.row .image-block img {
    transition: all 0.2s;
}
div#page-section-602229b710c48c03e7757b96>.row .image-block:hover img {
    transform: scale(1.2);
    transition: all 0.2s;
}
div#page-section-602229b710c48c03e7757b96>.row .image-block {
    overflow: hidden;
}

 

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.