Jump to content

Remove Padding on Image Blocks while Adding Drop Shadow

Go to solution Solved by tuanphan,

Recommended Posts

Site URL: https://seabass-maroon-5h8g.squarespace.com/

I have added a drop-shadow on a hover effect on my images, but I would like to remove the padding between the images.

I want the end result to be similar to this page: https://www.copleyequity.com/#portfolio

When I have tried to remove the padding using the below code, the images zoom in and when you hover over the images on the top row, it shifts the images below them down. I don't want this to happen. I'd like the images to not zoom in and stay static.



Current code:

  .image-block:hover {
  filter:drop-shadow(0px 0px 12px #D3D3D3);


password: oakpointtest

Link to comment
  • Solution

Add to Home > Design > Custom CSS

footer.sections .image-block:hover {
    filter: unset !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.