Bill1965 Posted August 8, 2019 Share Posted August 8, 2019 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
Bill1965 Posted August 8, 2019 Author Share Posted August 8, 2019 I figured it out looking at the page source .Index-gallery {margin-left: 10px; margin-right: 10px;} It's case specific, though... kind of odd: "Index" needs to be capitalized. Link to comment
paul2009 Posted August 9, 2019 Share Posted August 9, 2019 That's correct. HTML class names are case-sensitive. About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. Content: Links in my posts may refer to SF Digital products or may be affiliate links. If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.