Hello Crew,
On my Collection page: ‘Artworks Template’ how can I force all image height to constrain to fit above the fold? (ie. Vertical images require scrolling down to view)
Thanks for the help!
I also need help constraining the width of the columns containing the work title, media type, and date to be constrained no wider than the image or video. Any help greatly appreciated!
You can set a max height of 80-90VH to ensure all images will fit in the view port rather than have to scroll (GIF showing this)
The second question about making the width of the columns equal to the image is a bit trickier. The only solution I can think of is to nest the main image and the row as children of the same parent container. Then set the row width to 100% and if the image width changes, the row should adapt to fit the width of the parent.
Thanks for following up with this and apologies for the delayed response.
I recommend using Max-height and max-width over setting exact dimensions. This way the image can keep it’s normal ratio but will never exceed the boundaries you set.