How to stop slide from showing all slides vertically when loading

风格不统一 提交于 2019-12-12 03:02:58

问题


My logo slider shows every slide vertically when loading and it looks terrible when loading and then when loaded it forms correctly.

Can someone please let me know how to get rid of this problem please? Here's where the slider is located http://www.customlogoshop.com/logo-design

Thanks!


回答1:


You could try to hide the images like this:

.logo-slider img {
    display: none;
}

and make them visible again as soon as slickjs initialized the slider:

.logo-slider.slick-initialized img {
    display: block;
}


来源:https://stackoverflow.com/questions/38038710/how-to-stop-slide-from-showing-all-slides-vertically-when-loading

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!