Are there any options to stop slick adding next & previous buttons? I can't seem to hide them via css.
<button type="button" data-role="none" class="slick-prev" aria-label="previous" style="display: inline-block;">Previous</button>
$('. slider'). slick({ dots: false, prevArrow: false, nextArrow: false });
Add prevArrow: false
and nextArrow: false
to where you call your carousel. Ex)
$('.slider').slick({ dots: false, prevArrow: false, nextArrow: false });
I added dots: false
in case you wanted to remove that too.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With