Hi,
I have been trying to set my card height to all the same height. I have looked on the forum and seen it suggests adding the following code to correct this:
(function($){
function make_same_height(){
var max = 0;
$(".x-card-inner").each(function(index, el) {
console.log( $(el).height() );
if( $(el).height() > max ){
max = $(el).height();
}
});
$(".x-card-inner").css('height', max);
}
$(window).on('load resize', function(){
setTimeout(make_same_height, 200);
});
})(jQuery);
I have entered the code but the cards are still all different sizes. Can you advise if I’ve missed anything obvious?