M
M
Maksim Ivanov2019-04-25 16:32:29
JavaScript
Maksim Ivanov, 2019-04-25 16:32:29

Slick slider how to fix?

Tell me how to fix this glitch? this is how it looks when the programmer transferred the layout to the site
5cc1b5fe17e7c743416062.jpeg
. In my local version, everything looks normal - 5cc1b686265d5226533075.jpeg

Scripts are connected like this -

$(function () {
    $('.kii-slider .slider-for').slick({
        slidesToShow: 1,
        slidesToScroll: 1,
        arrows: true,
        fade: true,
        asNavFor: '.slider-nav'

    });
    $('.kii-slider .slider-nav').slick({
        slidesToShow: 5,
        slidesToScroll: 1,
        asNavFor: '.slider-for',
        dots: false,
        centerMode: false,
        focusOnSelect: true,
        arrows: false
        //infinite: false
    });
});

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question