Jump to content

How to Stack a Grid Gallery in Squarespace Mobile View

Recommended Posts

Followed this website in order to try and achieve stacking on Mobile only using one column, as it currently shows two columns, reducing the image sizes (see attachment):

https://christyprice.com/blog/stack-grid-gallery-squarespace-mobile

 

The following code is used but i cannot get it working when i drop it onto my Design >> Custom CSS section:

 

@media screen and (max-width:800px) {
.gallery-grid-wrapper {
    grid-template-columns: repeat(1,1fr) !important;
      grid-row-gap: 3vw !important;
}
}

Can Someone please help me as I want each image to appear on one big column instead of split into two coloumns for mobile only.

stacking.png

Edited by ibrade
Link to comment
  • Replies 2
  • Views 450
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

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.