Jump to content

Flatiron Gallery Issue

Recommended Posts

Hey there,

I am using the Flatiron Template and I´m having problems with the gallery site. 

I tried a few Templates but Flatiron is the only one, one which I can link Galleries on the Startsite-Grid, but when clicking the Gallery Pictures in Landscape Format are nice but Portrait are too large for normal 1080p screen. When lowering the Size of the Width the Portraits are ok but the Landscape is too tiny.

Is there a Way to fix this or scale the Gallery responsivly to the screen resolution (my 1440p Monitor has no problems displaying any kind of format) or change the Gallery Layout as a whole?

Link to comment
  • 3 months later...
  • Replies 1
  • Views 364
  • Created
  • Last Reply

Hi There,

It took me a while to figure this out. Please try the code below by entering to the custom css field.

 

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

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

Link to comment

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.