If you are working with Owl Carousel and want to customize the interval time of the slider carousel, here's what you need to do :
- Add an id or class in the owl-carousel div, in my case i'm using id.
<div class="four-item-carousel owl-carousel owl-theme" id="clients">
- Add this script
<script>
$(document).ready(function() {
var $clients = $("#clients").owlCarousel();
var autoplayDelay = 1000; // Set as you want. 1000 for 1 sec.
if (autoplayDelay) {
$clients.trigger('stop.owl.autoplay');
setTimeout(function() {
$clients.trigger('play.owl.autoplay');
}, autoplayDelay);
}
});
</script>
CC : Stack Overflow
Ciao