Jump to content

Is it possible to have different settings for a gallery block on mobile compared to desktop?

Recommended Posts

I am using a simple gallery grid that has 3 images per row on desktop, but I would like to have them stacked on mobile (one image per row). They are too small to be shown next to each other on mobile. If I change the settings on the mobile version, it affects the desktop design as well. Is it possible to have different layouts on desktop vs mobile?

Link to comment
  • 3 weeks later...
On 9/13/2022 at 10:47 AM, mattjenkins said:

Hello @tuanphan


Im after the same solution. One column for Gallery Grid: Simple on Mobile:





Try adding to Design > Custom CSS

@media screen and (max-width:767px) {
.gallery-grid--layout-grid .gallery-grid-wrapper {
    grid-template-columns: repeat(1,1fr) !important;


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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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

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.