Jump to content

Resizing Grid:Simple with smaller images

Recommended Posts

Site URL: https://www.calixtedavis.com

Hi,

So i've been trying to figure this out but can't for the life of me and it's so frustrating!

Currently, i have Simple Grid Gallery on my Homepage https://www.calixtedavis.com

Ideally i'd have maybe 4 columns and 3 rows but when I change the number of columns to 4 the images become huge and I don't see any way to make then smaller in the edit options!

I would basically want the images to stay the size that they currently are, but with only 4 columns.

 

Any help would be much appreciated - thanks!

Link to comment

Add to Design > Custom CSS

@media screen and (min-width:992px) {
body.homepage {
.gallery-grid-wrapper {
    grid-template-columns: repeat(4,1fr) !important;
}
.gallery-grid.gallery-grid--layout-grid {
    padding-left: 20vw;
    padding-right: 20vw;
}
}
}

 

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!)

Link to comment
On 11/28/2021 at 7:14 AM, tuanphan said:

Add to Design > Custom CSS

@media screen and (min-width:992px) {
body.homepage {
.gallery-grid-wrapper {
    grid-template-columns: repeat(4,1fr) !important;
}
.gallery-grid.gallery-grid--layout-grid {
    padding-left: 20vw;
    padding-right: 20vw;
}
}
}

 

Thank you so much!

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.