Jump to content

How to reduce padding between grid galleries

Recommended Posts

I'm trying to reduce the padding between all the grid galleries under "portfolio" and was curious if anyone knew how to do it. All the padding settings under site styles seems to change everything on the site except for the galleries. Please let me know if anyone has a solution for this.

Check out the site: www.reverihomes.ca

Thanks in advance!

Sam

Link to comment
  • 2 weeks later...
  • Replies 1
  • Views 1.1k
  • Created
  • Last Reply

@chamsang add to Home > Design > Custom CSS

.homepage .sqs-block-gallery {
    padding-left: 0;
    padding-top: 0;
}
.homepage .sqs-block-gallery:nth-child(4n+1) {
    padding-right: 0;
    padding-bottom: 0;
	padding-left: 17px;
	padding-top: 17px;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

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.