How do I turn off autoplay on my homepage slider?

Hello all,

I am having a hard time finding the javascript file that controls the “Product Collections” Owl Carousel slider on my homepage.

Can anyone find where to set “autoplay:false”? I found a couple of files that seem to have the settings, but making changes doesn’t do anything.

www.packturtle.com

Thanks!

Cheryl

Looks like it’s in your custom-js.js, but this file is minified. Search for “.collection_cms_slider”, something like:

$("body:not(.rtl) .collection_cms_slider").owlCarousel({
        nav: !0,
        dots: !1,
        autoplay: !0,
        autoplaySpeed: 1500,
        rewind: !0,
        stopOnHover: !0,
        responsive: {

Tim! Thank you!

Once I found it, I played with the settings and after I disabled the rewind, enabled looping, and slowed down the slider, I decided to keep the auto-play. :grinning_face:

Now I can disable it later if I need to. This is a huge weight off my shoulders. Can’t thank you enough!.

Cheryl

Code after changes:

$("body:not(.rtl) .collection_cms_slider").owlCarousel({
nav: !0,
dots: !1,
autoplay :!0,
autoplaySpeed: 2000,
autoplayTimeout: 8000,
autoplayHoverPause: !0,
rewind: !1,
loop: !0,
lazyload: !0,

stopOnHover wasn’t working for some reason. I had to change it to autoplayHoverPause.