Jump to content

Gallery display on mobile all in one row instead of split

Recommended Posts

Hello @katieelder

The gallery is structured in a three column grid but Squarespace reduce this to 2 on mobile. We can override this behaviour by forcing this to 3 using some CSS. Try adding this to Design > Custom CSS:

#collection-60e2268b3efe242986005c4b .gallery-grid-wrapper {
  grid-template-columns: repeat(3, 1fr)!important;
}

When saved, you should see something like the example below. Let me know how you get on.

image.thumb.png.f4d4f26013c2366f3568f355df534b18.png

Notes:
The 'collection ID' uniquely identifies the contact page on your site so that other pages are not affected by this styling change. For details of how to find the collection ID for other pages, see this guide.

Was this post helpful? Please give feedback by clicking an icon below  ⬇️

Improve your online store with our extensions.
About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™.
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Buy me a coffee

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.