Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author simonpedge

    (@simonpedge)

    Ok, I see that OWL CAROUSEL has made some CSS changes with the 2.3 release.

    OLD (Owl Carousel 2.2.1):

    .owl-carousel .owl-item img {
    	display: inline;
    	width: auto;
    	height: auto;
    	max-width:100%;
    }

    NEW (Owl Carousel 2.3):

    .owl-carousel .owl-item img {
    	display: block;
    	width: 100%;
    }

    So for now, add the following CSS to your site:

    .owl-carousel .owl-item img {
    	display: inline !important;
    	width: auto !important;
    	height: auto !important;
    	max-width:100% !important;
    }

    While I investigate whether there will be any implications to reverting to the old CSS for images, which will then come in a future release.

    Thread Starter brachialis

    (@brachialis)

    Hello Simon, thanks for your your help.
    Last couple of updates made the slider kind of unstable. Overall great plugin!

    Thanks again!

    Setting the width of images to 100% messes up the layout if you’ve got a slide with mixed content. It seems to assume that any image is going to fill the slide. Breaks the layout.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Images on slider got significantly big after last update’ is closed to new replies.