Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
Sign in to follow this  
MonteBH

Flatiron Gallery Issue

Question

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?

Share this post


Link to post

1 answer to this question

Recommended Posts

  • 0

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;
}
  

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Sign in to follow this  

×
×
  • Create New...