Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter Marcos Soares

    (@slipmp)

    Just found an alternative. By executing $(‘.edu-axis-main-slider’).slick(‘unslick’); first it allows me to call slick() again without errors. It is a workaround, not really ideal, but it will allow me to not lose changes after theme update.

    Code snippet:

    <script type=”text/javascript”>
    jQuery(document).ready(function($) {
    $(‘.edu-axis-main-slider’).slick(‘unslick’);

    $( ‘.edu-axis-main-slider’ ).slick( {
    autoplay: true,
    dots: true,
    fade: true,
    autoplaySpeed: 3000
    });
    });
    </script>

    Thank you!

Viewing 1 replies (of 1 total)