Smartyart Posted September 18, 2020 Share Posted September 18, 2020 Site URL: https://cat-wedge-xh9c.squarespace.com/about I have two gallerys on my 'About' page - one for staff and one for our BOD. I want only one of these - the BOD - to display in three columns on mobile. By using this code : @media screen and (max-width:800px) { .gallery-grid-wrapper { grid-template-columns: repeat(3,1fr) !important; grid-row-gap: 3vw !important; } } I can change it to three columns, but it changes both of the blocks on the page. Can someone tell me how to just specify that one section that I want to change? Thanks! Website: https://cat-wedge-xh9c.squarespace.com/about Link to comment
christyprice Posted September 18, 2020 Share Posted September 18, 2020 You can add the section-id at the beginning of the code to specify just one section. Your BOD section-id is: section[data-section-id="5f3ade67dd95661b3526a38e"] I use Heather Tovey's Chrome Extension Squarespace ID Finder to make finding those fast and easy. christyprice.com 🇺🇸 Austin, TX US ✅ Get my Starter Template for Web Designers 🎥 Watch Circle Live: Hello Income (feat. Christy Price and Jeremy Schwartz) 🎬 Watch It's Not Hard to Say Goodbye: Crafting Client Offboarding from Circle Day 2023 Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.