0
I’d like you to have three slides, not five, but I’m having a really hard time putting them in. I can’t touch the source code of the framework.
<div class="owl-carousel owl-theme">
<div class="item-slide"> <img src="https://static.pexels.com/photos/110854/pexels-photo-110854.jpeg"> 1</img> </div>
<div class="item-slide"> <img src="https://static.pexels.com/photos/110854/pexels-photo-110854.jpeg"> 2</img> </div>
<div class="item-slide"> <img src="https://static.pexels.com/photos/110854/pexels-photo-110854.jpeg">3 </img> </div>
<div class="item-slide"> <img src="https://static.pexels.com/photos/110854/pexels-photo-110854.jpeg">4 </img> </div>
<div class="item-slide"> <img src="https://static.pexels.com/photos/110854/pexels-photo-110854.jpeg">5 </img> </div>
<div class="item-slide"> <img src="https://static.pexels.com/photos/110854/pexels-photo-110854.jpeg">6 </img> </div>
<div class="item-slide"> <img src="https://static.pexels.com/photos/110854/pexels-photo-110854.jpeg">7 </img> </div>
<div class="item-slide"> <img src="https://static.pexels.com/photos/110854/pexels-photo-110854.jpeg">8 </img> </div>
<div class="item-slide"> <img src="https://static.pexels.com/photos/110854/pexels-photo-110854.jpeg">9 </img> </div>
<div class="item-slide"> <img src="https://static.pexels.com/photos/110854/pexels-photo-110854.jpeg">10 </img> </div>
</div>
$(document).ready(function(){
$('.owl-carousel').owlCarousel({
loop:true,
margin:150,
items: 0,
autoplay: false ,
stagePadding: 0,
center: true,
nav:true,
responsive:{
0:{
items:1
},
600:{
items:3
},
1000:{
items:5
}
}
})
});
Would anyone know? I didn’t find the api to change.