• Resolved dreist

    (@dreist)


    Hi,
    it would be great to be able to adjust the touch threshold. or maybe you can help me to do that with code. I have not been successful with the below.

    Thanks!

    jQuery(document).ready(function($) {
    $(".slick-slider")
    .not('.slick-initialized')
    .slick({
    touchThreshold: 100,
    });
    console.log($('.slick-slider').slick('getSlick').options); // Log the settings
    });
    • This topic was modified 4 weeks, 1 day ago by dreist.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Kadim Gültekin

    (@arkenon)

    Hi,

    Try the template below:

    (function ($) {
    $(".gb-for-slick-slider, .wp-block-gb-for-slick-slider-slick-slider")
    .not('.slick-initialized')
    .slick({
    //Your code is here
    });
    })(window.jQuery);

    Thanks for your interest.

    Thread Starter dreist

    (@dreist)

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.