M
M
mindx2018-02-05 00:42:22
css
mindx, 2018-02-05 00:42:22

How to enable arrows in Slick Slider?

The slick itself works, but there are no arrows, neither at full screen, nor at lower resolutions ...
Maybe I did something wrong, explain plz.

<script>
  $('.undersection').slick({
    infinite: true,
    dots: false,
    slidesToShow: 5,
    slidesToScroll: 1,
    responsive: [
        {
          breakpoint: 1024,
          settings: {
      	arrows: false,
            slidesToShow: 5,
            slidesToScroll: 5,
            infinite: true,
            dots: true
          }
        },
        {
          breakpoint: 992,
          settings: {
          	arrows: true,
            slidesToShow: 2,
            slidesToScroll: 2
          }
        },
        {
          breakpoint: 768,
          settings: {
          	arrows: true,
            slidesToShow: 1,
            slidesToScroll: 1
          }
        }
      ]
  });





</script>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikita Shchypylov, 2018-02-05
@mindx

Add paddings on the sides

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question