Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Change Columns in Only One Gallery on Page



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

Edited by Smartyart
Link to comment
  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

1 answer to this question

Recommended Posts

  • 0

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. 

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...