Jump to content

Photo Gallery: Setting different number of columns on desktop and mobile

Recommended Posts

Hello, I'm a first-time user of Squarespace and am building my first site.

All is going well so far, except for the masonry photo gallery.

On desktop, I have it set to 3 columns and on mobile, I want to show 1 column, but it doesn't change to 1 column without also changing it to 1 column on desktop.

How can I leave the desktop as 3 columns but have the mobile as 1 column?

I have seen some custom code on this form as someone seemed to have the same issue, but I didn't want to copy it in case it was site specific or something.

Also, the vertical spacing between the images doesn't seem to work and I would like to increase the spacing slightly so it looks more pleasing.

If anyone can help with the required custom code, I would be very grateful.

Thank you.

mobile view.jpg

Link to comment
  • Replies 1
  • Views 1.1k
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

5 hours ago, PHASE44 said:

Hello, I'm a first-time user of Squarespace and am building my first site.

All is going well so far, except for the masonry photo gallery.

On desktop, I have it set to 3 columns and on mobile, I want to show 1 column, but it doesn't change to 1 column without also changing it to 1 column on desktop.

How can I leave the desktop as 3 columns but have the mobile as 1 column?

I have seen some custom code on this form as someone seemed to have the same issue, but I didn't want to copy it in case it was site specific or something.

Also, the vertical spacing between the images doesn't seem to work and I would like to increase the spacing slightly so it looks more pleasing.

If anyone can help with the required custom code, I would be very grateful.

Thank you.

mobile view.jpg

Can you share your URL site so we can check it easier

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

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.