Equalize Column Heights with jQuery

This will take the tallest matching column and apply that height to all the others.

var maxHeight = 0;

$('.column').each(function() {
   if ($(this).height() > maxHeight) { maxHeight = $(this).height(); }
});

$('.column').height(maxHeight);

Adam Walter is a front-end developer, lover of WordPress, and Director of Development at Vital in Portsmouth, NH. Read more about me →