https://bootstrapmade.com/demo/themes/Delicious/
How can i change Speed of slides in main section?
It’s owlCarousel, but don’t know where i need to change it
https://bootstrapmade.com/demo/themes/Delicious/
How can i change Speed of slides in main section?
It’s owlCarousel, but don’t know where i need to change it
Hello there,
If you are referring to how often the slides automatically change, then it is in this object here:
const Default = {
interval : 5000,
keyboard : true,
slide : false,
pause : 'hover',
wrap : true,
touch : true
}
Change the interval
to have a value of whatever you want (in milliseconds).
Hope this helps
Can’t find this fragment of code…
There should be a carousel.js
file somewhere, which contains the above mentioned object.
It doesn’t works…
It is very difficult to work off of screenshots of code. Would you mind creating a CodeSandbox, or Repl.it or similar with your code? Then, share the link.
The slide interval is set in one of two places:
config
argument:class Carousel {
constructor(element, config) {
So, if the default has been overridden, it will be because of the config
.
Found the solution. It was bootstrap Carousel.
Added in js:
$('.carousel').carousel({
interval: 4000,
keyboard: true
})