How do I fix the behavior of the OWL carousel?

  • 0
    Hello, how can I fix this slider behavior? initially the height is set to 770px, then when you scroll through and return, the height is already normal.

    Link where you can test the slider

    Slider code
    $('.carousel_1').owlCarousel({
                // loop:true,
                nav:true,
                // navText:["",""],
                navText:['<i class="icon-prev-page"></i>','<i class="icon-next-page"></i>'],
    			items:1,
    			margin: 10,
                autoHeight: true,
        		// autoHeightClass: 'owl-height',
                startPosition: 0,
                onInitialized  : counter, //When the plugin has initialized.
      			onTranslated : counter //When the translation of the stage has finished.
    
            });
    JavaScript Anonymous, Jan 25, 2019

  • 0 Answers
Your Answer
To place the code, please use CodePen or similar tool. Thanks you!