Jump to content

Change padding on specific image

Recommended Posts

Hi,

I have a gallery with 2 images side by side with CSS shadows.  I need the images to align to my site margins. To do this, I think I just need to remove the left margin on the left image and the right margin on the right image but I can't figure out how to control this on the individual image. I also need to preserve the shadows so they don't get cut off by removing the padding 😭 Any ideas?

Here's the site and this is the code I'm using on the gallery block to stop stacking images

.sqs-block-summary-v2 .summary-item {
  	clear: none !important;
    width: calc(100%/2)!important;
  padding: 20px !important;
  }

Thanks!

Link to comment
  • Replies 0
  • Created
  • Last Reply

Archived

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.