Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Remove Padding on Image Blocks while Adding Drop Shadow

Go to solution Solved by tuanphan,


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

Top Posters For This Question

Top Posters For This Question

Popular Posts

Add to Home > Design > Custom CSS footer.sections .image-block:hover { filter: unset !important; }  

4 answers to this question

Recommended Posts

  • 0

Add to Home > Design > Custom CSS

footer.sections .image-block:hover {
    filter: unset !important;


You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan, work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. 

Link to post
  • 0
15 hours ago, tuanphan said:

Do you still need help on this?

Hi yes. Still haven't been able to figure it out.

Also, is there a way to remove the css from applying to the image in the footer?

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

  • Create New...