Why the slides are not displayed correctly in SlickSlider?

Good day!
In the settings of the slick setting slidetoshow: 8
That's so frustrating when pictures missing:
5dfb7e7671785232983208.png
When images becomes less than 8:
5dfb7e8e967fd794043606.png
JS:
5dfb7ee050344720725576.png
HTML:
5dfb7f715ef32995107933.png
Styles pictures of the inside of the slide:
5dfb7fcf75fb8354585520.png

Thank you in advance and I apologize for the pictures, different now any way.
Thank you!
April 3rd 20 at 18:42
1 answer
April 3rd 20 at 18:44
Well, try to insert the script before the block or something else to pass the number of images in script instead of "8" in advance.

Find more questions by tags CSSJavaScriptHTMLSlick