Answer the question
In order to leave comments, you need to log in
Why does the slick-slider sometimes collapse?
Hello everyone
Site
Sometimes, and it is impossible to track the pattern, the slick collapses. Initialization passes, pictures are loaded, but at the output I get a narrow strip of a couple of pixels. After refreshing the page, everything falls into place
. What could be the problem?
Answer the question
In order to leave comments, you need to log in
Maybe the pictures are not loaded before the slick is initialized?
Do you reload when you make changes? Maybe something is being cached?
Sergei is correct. Initialize slider in
$(document).ready( function(){
...
})
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question