Jump to content

Padding between image blocks

Recommended Posts

  • Replies 6
  • Views 926
  • Created
  • Last Reply
Posted
2 hours ago, MoonMama said:

Site URL: https://www.tribeandsol.com

Hi, 

I want to decrease the space between the images on my homepage so that they're closer together can anyone help?

562176627_ScreenShot2021-10-30at1_45_58AM.thumb.png.7459341e80a74b9d6b6b79d48e7d2742.png

You can try adding to Home > Design > Custom Css

section[data-section-id="617cd72fcd9056094e9801e9"] .col > .sqs-block.image-block {
  padding: 8px;
}

Let me know how it works

Support me by pressing 👍 if this useful for you

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> 🤖 Ask me anything

Posted
7 hours ago, MoonMama said:

Hi, 

Yes it worked perfectly on desktop! On mobile it didn't work it leaves a big space in every other photo. 

 

 

Screen Shot 2021-10-30 at 11.25.02 AM.png

Screen Shot 2021-10-30 at 11.25.10 AM.png

You can try this for the mobile breakpoint

@media only screen and (max-width: 767px) {
  .sqs-layout .sqs-row .sqs-block:first-child {
    padding-top: 3px !important;
  }
  .sqs-layout .sqs-row .sqs-block:last-child {
    padding-bottom: 3px !important;
  }
}

 

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> 🤖 Ask me anything

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.