I’m curious if there’s a way to set the height of the big image in the image gallery to fit the height of the images that it’s containing. I’ve noticed that the height is dependent on the height of the 1st image in the gallery. Ideally, I’d like to have images with multiple aspect ratios in the same gallery where the container holding the big preview image above the thumbnails changes its height to match the height of the image it’s holding. Is this possible? Here’s a quick screen-grab explaining more of what I’m talking about (basically, I would like to get rid of the white-space without making the shortest image the first image in the gallery-and I’d like to maintain the aspect ratios). http://i.imgur.com/hzXDzYn.jpg
Thanks
Hi marshallrobinson!
Thank you for using Enfold.
Edit the Gallery element then set the Gallery Big Preview Image Size to “No Scaling” and then disable the Force same size for all big preview images? setting. Add this on Quick CSS:
#top div .avia-gallery .avia-gallery-big-no-crop-thumb {
height: auto !important;
}
Cheers!
Ismael
Really strange. It works fine until i change
.container {
padding: 0px 99px 0px 95px;
}
to
.container {
padding: 0px 99px 0px 97px;
}
Solved it! You can close this thread.