Jump to content

Need help with reducing padding in image grid

Recommended Posts

  • Replies 2
  • Views 1.1k
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

@MikeM100 try something like this in your custom css. This should make everything 0 and lined right up but if you increase that bottom margin part in the second line you can adjust spacing as you want.

 

.sqs-block-gallery .slide {
  margin-bottom: 0px; //increase this for your spacing between images
  .image-slide-anchor, .content-wrapper, .intrinsic-inner { 
    padding-bottom: 0 !important;
    height: 100% !important;
  } 
  .thumb-image, img {
    height: auto; 
    width: 100% !important;
    height: 100% !important;
    top: 0 !important;
    left: 0 !important;
    display: block;
  }
  
  .sqs-video-overlay, .sqs-video-wrapper {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    height: 100% !important;
    width: 100% !important;
  }
}

 

  Did I help you? Buy me a coffee!

👨‍💻 Bergen Design Co.

💻  I'm for hire on Upwork!

🕸️ Squarespace Experts  

🖥️ 99Designs

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.