Answer the question
In order to leave comments, you need to log in
How to customize owlCarousel 2 navigation?
Hello!
There is a code:
$('.similar-product').owlCarousel({
margin:10,
nav:true,
navText : ['<span class="sl-left"><i class="fas fa-chevron-left fa-3x text-dark"></i></span>','<span class="sl-right"><i class="fas fa-chevron-right fa-3x text-dark"></i></span>'],
autoWidth: false,
dots: false,
navContainerClass: 'owl-nav',
responsive:{
0:{
items:1
},
600:{
items:3
},
1000:{
items:4
},
1200:{
items:4
}
}
});
Answer the question
In order to leave comments, you need to log in
Always turn on navigation. (hang styles that hide it)
When adding the 4th element, put a class that shows it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question