Answer the question
In order to leave comments, you need to log in
How to make all images the same height in Owl Carousel 2?
Can you please tell me how to make all images with the same height in Owl Carousel 2 ?
I do this:
https://jsfiddle.net/g3s1fpnt/3/ The
photos are stretched out of proportion. Maybe there is some parameter to customize Owl Carousel 2 or can it be done in CSS correctly? It is important that the images are displayed correctly when responsive.
Answer the question
In order to leave comments, you need to log in
There is an autowidth parameter:
owlcarousel2.github.io/OwlCarousel2/demos/autowidt...
But for some reason it only works with loop:true in the example,
UPD:
added a little css:
https://jsfiddle.net/a3shokvb/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question