R
R
Rokmusic2021-05-30 10:30:26
Slick
Rokmusic, 2021-05-30 10:30:26

Slick slider - arrows when all slides are visible.. How to display them?

Hello everyone!) there is a slider

jQuery(document).ready(function($){
    $('.slider-for').slick({
      slidesToShow: 1,
      slidesToScroll: 1,
      arrows: false,
      fade: true,
      asNavFor: '.slider-nav'
    });
    $('.slider-nav').slick({
      slidesToShow: 4,
      slidesToScroll: 1,
      asNavFor: '.slider-for',
      dots: false,
      focusOnSelect: true,
      draggable: true,
      swipe: true,
      arrows: true,
      loop: true
    });
});


<div class="slide slider-nav">
                            <img src="/img/2015.png" alt="" class="img-slider-company">
                            <img src="/img/2015.png" alt="" class="img-slider-company">
                            <img src="/img/2015.png" alt="" class="img-slider-company">
                            <img src="/img/2015.png" alt="" class="img-slider-company">
                        </div>
                        <div class="slide slider-for">
                            <p class="paragraph-slider paragraph-slider__company">
                                1 9001:2015, ГАЗСЕРТ Новая модель крана «под задвижку»
                            </p>
                            <p class="paragraph-slider paragraph-slider__company">
                                2 9001:2015, ГАЗСЕРТ Новая модель крана «под задвижку»
                            </p>
                            <p class="paragraph-slider paragraph-slider__company">
                                3 ISO 9001:2015, ГАЗСЕРТ Новая модель крана «под задвижку»
                            </p>
                            <p class="paragraph-slider paragraph-slider__company">
                                4 ISO 9001:2015, ГАЗСЕРТ Новая модель крана «под задвижку»
                            </p>
                        </div>


When the number of slides is equal to slidesToShow, the arrows disappear. Plz tell me, how can I return them to turn the slides? Thank you in advance

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