Jump to content

Adjusting number of columns on gallery block (grid) on mobile device

Recommended Posts

Posted

Site URL: https://chartreuse-violet-mhck.squarespace.com/

I am looking to adjust the number of columns that a gallery block will display on mobile. The default is 2 and I cannot seem to figure out a way to have it display as 3. On the about page, at the bottom is a grid of X's and O's where I am testing this. It will ultimately be a logo parade. Any assistance would be appreciated. 

Ideally this code would be set by block ID rather than something that applies to the entire site. 

 

 

  • Replies 4
  • Views 519
  • Created
  • Last Reply

Top Posters In This Topic

Posted
51 minutes ago, michael.dabbs said:

Site URL: https://chartreuse-violet-mhck.squarespace.com/

I am looking to adjust the number of columns that a gallery block will display on mobile. The default is 2 and I cannot seem to figure out a way to have it display as 3. On the about page, at the bottom is a grid of X's and O's where I am testing this. It will ultimately be a logo parade. Any assistance would be appreciated. 

Ideally this code would be set by block ID rather than something that applies to the entire site. 

 

 

Can you share the website password?

If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks

MD Rofik
Website Designer and Digital Marketer

Am I helpful? Want to offer me a coffee?
Send me a message if needed any help. I'll try to reply as soon as possible.


 

Posted
On 9/16/2022 at 10:17 PM, michael.dabbs said:

Site URL: https://chartreuse-violet-mhck.squarespace.com/

I am looking to adjust the number of columns that a gallery block will display on mobile. The default is 2 and I cannot seem to figure out a way to have it display as 3. On the about page, at the bottom is a grid of X's and O's where I am testing this. It will ultimately be a logo parade. Any assistance would be appreciated. 

Ideally this code would be set by block ID rather than something that applies to the entire site. 

 

 

Add to Design > Custom CSS > Then save & reload the site

/* Mobile Our Clients */
@media screen and (max-width:767px) {
div#block-f46b6f0fbb8974c9f213 .slide {
    width: 33.3333% !important;
}
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Posted
On 9/20/2022 at 6:04 AM, tuanphan said:

Add to Design > Custom CSS > Then save & reload the site

/* Mobile Our Clients */
@media screen and (max-width:767px) {
div#block-f46b6f0fbb8974c9f213 .slide {
    width: 33.3333% !important;
}
}

 

Thank you!
That works perfectly. You are my hero

Create an account or sign in to comment

You need to be a member in order to leave a comment

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