Jump to content

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

Recommended Posts

Posted

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

  • Replies 1
  • Views 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

Posted
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 (Pinch/Zoom images, videos - PDFs Lightbox - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> 🤖 Ask me anything

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.