Jump to content

Remove Padding on Image Blocks while Adding Drop Shadow

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
  • Replies 4
  • Created
  • Last Reply


This topic is now archived and is closed to further replies.

  • 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.