Try to search your question here, if you can't find : Ask Any Question Now ?

Disable slick cloning slides while infinite:true

HomeCategory: stackoverflowDisable slick cloning slides while infinite:true
Avatarjulie asked 2 months ago

I need to remove slick-cloned slides from my slider while keeping infinite true.How can I achieve this?

$(".contents")
      .not(".slick-initialized")
      .slick({
        infinite: true,
        variableWidth: true,
        slidesToShow: 5,
        slidesToScroll: 1,
        prevArrow:
          '<a href="#" class="scroll-control scroll-left hidden" ><i class="icon-chevron-left "></i></a>',
        nextArrow:
           '<a href="#" class="scroll-control scroll-right" ><i class="icon-chevron-right"></i></a>',
});
1 Answers
Best Answer
AvatarJyoti answered 2 months ago
Your Answer

14 + 15 =

Popular Tags

WP Facebook Auto Publish Powered By : XYZScripts.com