Answer the question
In order to leave comments, you need to log in
Owl carousel how to crop image height?
I want to make narrow images in owl carousel so that when you click on the link, the full version of the image opens, how to reduce the height of the image without distorting it? If applied to an image:
style="height:150px;" then the image is compressed in height and distorted, if applied to the div (carousel-item) block - nothing changes. The height of the carousel itself is automatic, what to do?
Answer the question
In order to leave comments, you need to log in
Make a background for the diva, the extra part of the picture will not be visible.
Another option is to make a div with a height of 150px, put an overflow hidden in it and this div will have a picture
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question