Jump to content

How to set minimum 3 images per row on gallery page?

Recommended Posts

Posted

Site URL: https://withluke.com

Hi there,  I'm using squarespace 7.0 site so currently using gallery pages as my main porfolio pages.

On my large desktop monitor my site is displaying 3 -4 images per row on gallery pages but on smaller screens such as a laptop there is only 1 image shown per row.

How would I go about setting a minimum image number please?

Thanks!

  • Replies 2
  • Views 812
  • Created
  • Last Reply
Posted
On 4/22/2021 at 9:04 PM, WithLuke said:

Site URL: https://withluke.com

Hi there,  I'm using squarespace 7.0 site so currently using gallery pages as my main porfolio pages.

On my large desktop monitor my site is displaying 3 -4 images per row on gallery pages but on smaller screens such as a laptop there is only 1 image shown per row.

How would I go about setting a minimum image number please?

Thanks!

Add to Design > Custom CSS

/* Gallery mobile */
@media only screen and (max-width:800px) {
div#thumbList {
    height: auto !important;
    display: grid !important;
    grid-template-columns: repeat(3,1fr) !important;
    grid-column-gap: 10px !important;
}
span.thumb {
    position: relative !important;
    height: auto !important;
    top: unset !important;
    bottom: unset !important;
    left: unset !important;
    right: unset !important;
    float: none !important;
    width: 100% !important;
}
div#thumbList:before {
    display: none !important;
}
}

image.thumb.png.36b830b344b43bd0567bbc9623bfa093.png

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.