I've got a simple Slick slider with 4 items. It is set to center mode and automatic. When it first loads the first slide has nothing to the left of it. Whenever the final (fourth) slide comes in, the slide to the right (first)s blank until it slides in.
I did see this question but the answer was complete greek to me. Here's my HTML and JS.
<div class="your-class">
<div id="mySlide1">one</div>
<div id="mySlide2">two</div>
<div id="mySlide3">three</div>
<div id="mySlide4">four</div>
</div>
Javascript
$('.your-class').slick({
autoplay: true,
centerMode:true,
centerPadding:'60px'
});
Why are the first and last slides blank/empty?
Okay with some fiddling I figured it out. The styles in my stylesheets are overwritten by the Slick engine for some reason, but only for the first and last slides. To fix this I just put my divs and inline styles directly into the javascript via "SlickAdd" as you can see in my jsfiddle.
Javascript
https://jsfiddle.net/thinkcl/urspf8pg/2/