Jump to content

Custom CSS for Padding on Gallery Sides (Brine)

Recommended Posts

Does anyone know the name of the (index) gallery container to which I can change the padding in Custom CSS? To replace the .xxx below

.xxx {padding-left, padding-right: 40px;}

I have a site padding of 40px and a padding between index gallery images of 20px.So the gallery sticks out by 20px more than the header and the rest of the site content.(If I put down no side padding for the index gallery in the style editor, then the gallery will stick out by 40px).

I could also apply the padding to the gallery page, instead of the gallery image container.

Using Brine, but I'm not sure it matters.

Link to comment
  • Replies 2
  • Created
  • Last Reply

That's correct. HTML class names are case-sensitive.

Improve your online store with our extensions.
About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™.
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Buy me a coffee

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.