Jump to content

Making 6 or 3 Image Gallery Grid on a Phone Screen instead of a default 2

Recommended Posts

I cannot find a way how to make my layout stay the same on the phone. Having 6 or at least 3 images in a row on the gallery block. Squarespace only allows to have 2.  I could do it on a product page tho via this code but cant fix it via gallery page

<style>
  /* Product 2 columns mobile */
@media screen and (max-width:767px) {
    .products.collection-content-wrapper .list-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    grid-column-gap: 10px;
}
}
</style>

Also adjust all these mad gaps

Any ideas?

sc.png

Link to comment
  • Replies 3
  • Views 302
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

3 hours ago, MEEE said:

I cannot find a way how to make my layout stay the same on the phone. Having 6 or at least 3 images in a row on the gallery block. Squarespace only allows to have 2.  I could do it on a product page tho via this code but cant fix it via gallery page

<style>
  /* Product 2 columns mobile */
@media screen and (max-width:767px) {
    .products.collection-content-wrapper .list-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    grid-column-gap: 10px;
}
}
</style>

Also adjust all these mad gaps

Any ideas?

sc.png

Kindly share your site with the protected password to check your issue

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.