Skip to content Skip to sidebar Skip to footer

Slick Images Become 1px Height

I have been trying to get a slick slider to work for a few hours now, and after trying all the suggestions on relevant SO questions, nothing has worked. My images are 1080px tall,

Solution 1:

You should give the container where the slides are in a height, otherwise the height will always be 1px. So you can give .slick-track a height desired to your needs. Here's an updated JSfiddle.

The images that are inside the slider will grow (in height and width) to the set height of the container.

Post a Comment for "Slick Images Become 1px Height"