Jump to content

Change Columns in Only One Gallery on Page

Recommended Posts

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
  • Replies 1
  • Created
  • Last Reply

You can add the section-id at the beginning of the code to specify just one section. Your BOD section-id is:


I use Heather Tovey's Chrome Extension Squarespace ID Finder to make finding those fast and easy. 

christyprice.com  🇺🇸 Austin, TX US 

 Get my 100+ item Client Process Checklist for $17.
📔 Flourish Journal for Creative Entrepreneurs - 365 days of prompts
🎥 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


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.