Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Slick carousel equal height slides
$(window).load(function() {
$('.slides').on('setPosition', function () {
var slickTrack = $(this).find('.slick-track');
var slickTrackHeight = $(slickTrack).height();
$(this).find('.slick-slide').css('height', slickTrackHeight + 'px');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.