Slide min-height not working
-
When changing to a smaller screen size, the min-height changes for a smaller number of slides before the number of slides changes. As the window width gets smaller the min-height of the slides should get smaller to maintain the aspect ratio of the slides. It usually does, but there’s a point where this behavior breaks. For example, go to https://edgewebpages.com/slide-anything-usage-examples/ and set the window width to 997px. (I’m using Google Chrome with developer tools open to see window width) The min-height of the divs with a class of “sa_hover_container” is 392px. Change the window width to 996px, and the divs min-height goes up to 588px instead of going down, which makes the aspect ratio of the images much taller than they should be. 588px is the height for two slides, but there are still three slides visible. The slideshow doesn’t change to two slides until the window width gets down to 979px. At this point, the aspect ratio of the slides is back to normal. So when the window width is in the range of 980px to 996px, the aspect ratio of the slides is too tall.
Thanks for any help,
SteveThe page I need help with: [log in to see the link]
- The topic ‘Slide min-height not working’ is closed to new replies.