Looking to add custom previous and next buttons to a slick carousel? I attempted using a background image on the .slick-prev
and .slick-next
CSS classes, as well as creating a new class following the documentation, but unfortunately, the arrows disappeared completely:
<script type="text/javascript">
$('.big-image').slick({
dots: false,
infinite: true,
speed: 300,
slidesToShow: 1,
centerMode: true,
variableWidth: true,
nextArrow: '.next_caro',
prevArrow: '.previous_caro'
});
</script>
If you have any insights or pointers on how to successfully apply custom prev and next buttons, they would be greatly appreciated.