How to Configure Owl Carousel Slider Interval time

[ad_1]

Hi, hope that it will help who is trying to figure out “How to controll the speed of Owl Carousel Slider”. When I was trying to fugure out on my clients website, found that their theme is using Owl Carousel v2.3.4 . While trying to figure out the source of Sliders with ‘inspection’ it seemed several lines of CSS code with ‘ms (milisecond)’ may be reasonable for this but later it had no luck. Lots of time consumed with CSS codes.

After a through check, I found that it is controlled from owl.js, Find the below line (here, it was line:2728)

/**
* Default options.
* @public
*/
Autoplay.Defaults = {
autoplay: false,
autoplayTimeout: 5000,
autoplayHoverPause: false,
autoplaySpeed: false
};

Change the 5000 to your desired number. Here 5000 is for 5 second. Hope that it will save your tons of time in searching the root point.

  • This topic was modified 1 hour, 3 minutes ago by macrasel.
  • This topic was modified 8 minutes ago by macrasel.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer