A
A
Alexander Rybakov2019-12-19 16:50:03
css
Alexander Rybakov, 2019-12-19 16:50:03

Why are slides not displaying correctly in SlickSlider?

Good afternoon!
The slidetoshow setting is set in the slick settings: 8
This is how it displays when there are enough pictures:
5dfb7e7671785232983208.png
When there are fewer pictures: 8:
5dfb7e8e967fd794043606.png
JS:
5dfb7ee050344720725576.png
HTML:
5dfb7f715ef32995107933.png
Picture styles inside the slide:
5dfb7fcf75fb8354585520.png
Thank you in advance and I apologize for the pictures, there is no other way now.
Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
Lord_Dantes, 2019-12-19
@Lord_Dantes

Well, try to insert the script before the block or somehow transfer the number of pictures to the script instead of "8" in advance.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question