Having issues with implementing the Slick slider. The calculated width of each slide seems to be incorrect due to padding on the right side of the image.
<div class="responsive-slick">
<img src="Gallery/large/01.jpeg">
<img src="Gallery/large/02.jpeg">
<img src="Gallery/large/03.jpeg">
<img src="Gallery/large/04.jpeg">
<img src="Gallery/large/05.jpeg">
<img src="Gallery/large/06.jpeg">
</div>
$(document).ready(function(){
$('.responsive-slick').slick({
dots: true,
mobileFirst:true,
prevArrow: '<a class="slick-prev">Previous</button>',
nextArrow: '<a class="slick-prev">Previous</button>',
slidesToShow: 3,
slidesToScroll: 8
});
});
Output: https://i.sstatic.net/ZcYSQ.png
Not sure what's causing the issue. Any insights on this problem?