On my home page I have 3 rows, each row has 4 columns. I want to make all the columns in each row the same height - and the height will be chosen by the column with the most content in it. I have tried adding the following JS
jQuery(document).ready(function($) {
var max = 0;
$(".x-column.same-height").each(function(index, el) {
if( $(this).height() > max ){
max = $(this).height();
}
});
$(".x-column.same-height").css(‘height’, max);
});
But I cant make it work… Please Help.
the site is http://www.warrackstestdomain1.co.uk