Jump to content

Hover List Image Effect Overflow

Recommended Posts

Site URL: https://tiger-keyboard-84dw.squarespace.com/

Hello,

Page password is 5722

I am currently using this code for hover-zoom effect for List Item Images in my page, however I would like for the entire image to zoom on hover (maybe enable overflow or something) and not just zoom inside the box (hidden overflow). The screenshot of the airplane png on the right is same for the 2 other images, the images zoom within the box so it looks weird and cut off. Code is:

.list-item:hover .list-image {transform:scale(1.2); transition: 1s}
.list-item .list-image{overflow:visible!important}image.thumb.png.449d8ed06a4b72ed8f9c2cae3b5e2705.png

Edited by pinkchoux
Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

Don't remove any code in your current code. Add this to Design > Custom CSS

.list-item-media-inner {
    overflow: visible !important;
    clip-path: none !important;
}

 

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.