Jump to content

Flatiron Image Height Correction

Recommended Posts

Hello! I figured I'd put this front and center to save you from days of scouring the net as I did.

Enter the code below into the custom css field. This should maximize image size by height which will adjust based on screen size. Please adjust the margins to fit your parameters

 

#project .gallery {
    max-width: 100%;
    margin: 50px auto;
}

#project .gallery .gallery-item>img {
    max-height: 100vh;
  width: 100% auto;
}
  

Link to comment
  • Replies 0
  • Created
  • Last Reply

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.