Iam currently trying to use owl carousel 2 with fade effect but it shows default swipe effects insted.How can I fix it.
Here,s my code
function owlWrapperWidth( selector ) {
$(selector).each(function(){
$(this).find('.owl-carousel').outerWidth( $(this).closest( selector ).innerWidth() );
});
}
owlWrapperWidth( '.owl-wrapper' );
$( window ).resize(function() {
owlWrapperWidth( $('.owl-wrapper') );
});
$('.owl-carousel').owlCarousel({ animateOut: 'fadeOut',
animateIn: 'fadeIn',
nav:true,
loop: true,
responsive: {
0: {
items: 1
},
600: {
items: 2
},
1000: {
items: 3,
slideBy:3,
}
}
});
I have added animateIn:'fadeIn' but no success at all
Thanks