Ninja Slider / Posts /

Can the responsive slider constrain max height instead of width?

0

I have a mix of portraits and landscapes PNGs that I can generate such that the max width or height is 1000px (depending on landscape or portrait orientation).  The slider is expanding my portrait images to 1000px (the width of the container) but I would rather it only expand it up to height of the image instead. Is this possible?

Chris  4 years ago   viewed: 3569    

3 Answers

0

Set aspectRatio to "auto". For details visit http://www.menucool.com/responsive-slider#view2

Milo   4 years ago
0

Thanks Milo. 

I had already set the aspect ratio to "auto"  but that prioritizes the width as max, I want to prioritize the height as max (in this case 1000px).

Chris   4 years ago
0

Then you have to do more CSS configurations as the following post suggested:

http://www.menucool.com/2061/How-to-customize-a-specific-position-and-size-for-a-responsive-image-in-the-slider

Milo   4 years ago

   

Your name*
Password
(Optional. Used to modify this post afterwords)
+ =  

Ask your Own Question

  • If your question is related to the topic of this post, you can post your question to this page by clicking the "Post a reply" button at left;

  • When you want to start a new page for your question: