Jump to content

Padding between image blocks

Recommended Posts

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

Edited by bangank36

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio plugin
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

My testing result

image.thumb.png.b2d3f8b51206cdd304a503b12c244acf.png

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio plugin
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment
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;
  }
}

 

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio plugin
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

The testing result after applying above code

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio plugin
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

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.