我正在尝试将旋转木马中的所有元素都放到一个高度。我从源代码中取出了自适应高度,但它没有修复它
// Homepage Carousel
$('.homepage-carousel').slick({
lazyLoad: 'ondemand',
slidesToShow: 3,
slidesToScroll: 1,
autoplay: true,
autoplaySpeed: 5000,
//adaptiveheight: true,
prevArrow: '<button type="button" class="slick-nav slick-prev"><i class="fa fa-angle-left"></i></button>',
nextArrow: '<button type="button" class="slick-nav slick-next"><i class="fa fa-angle-right"></i></button>',
responsive: [
{
breakpoint: 1600,
settings: {
slidesToShow: 4
}
},
{
breakpoint: 1400,
settings: {
slidesToShow: 3
}
},
{
breakpoint: 1000,
settings: {
slidesToShow: 2
}
},
{
breakpoint: 600,
settings: {
slidesToShow: 1
}
}
]
});
网站住在这里:raginiacrossthepond.blogspot.com