Jump to content

How do I remove padding from gallery sections (7.1)

Go to solution Solved by Ziggy,

Recommended Posts

Hello! I am looking to get rid of the padding from my gallery section on my website. Please see photos.

I am on Squarespace 7.1 and this is a page within a project grid.

The gallery is set to masonry and the width is full.

URL: https://parakeet-chartreuse-4nnn.squarespace.com/work/mettle

PW: letmein

Any help would be appreciated! Thank you in advance 🙂

Screenshot 2023-10-24 at 14.40.27.png

Edited by arthompsn
forgot url, title change & tweak text
Link to comment
  • arthompsn changed the title to How do I remove padding from gallery sections (7.1)

You have the section height set to medium, reduce this to small and you will have less padding.

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️ Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment
  • Solution

Sorry, although that's in the code, it's not a user-editable variable, the padding is coming from the site margin under Spacing in Styles. Your best bet to change this for just the gallery is by adding this to Custom CSS:

// Gallery padding
.gallery-masonry[data-width="full"] {
    padding: 2vw 12vw;
}

Adjust the 2vw value for the top/bottom padding.

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️ Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

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.