Hi,
i’m using the card element on my website and I am trying to get all these cards’ height to match the largest and i have the same issues as the user in thise post:
Link to my website: https://fpj.at/home
i have imported this JS
(function($){
$(window).bind(‘ready load resize’, function(){
var max = 0,
mobile = $(window).width();
if ( mobile > 767 ){
$(".home #x-section-4 .x-card-inner").each(function(index, el) {
if( $(this).height() > max ){
max = $(this).height();
}
});
$(".home #x-section-4 .x-card-inner").css(‘height’, max);
}
});
})(jQuery);
and this code to my css
@media (min-width: 768) and (max-width: 979px) {
.home #x-section-1 .x-face-content {
padding: 0 !important;
}
}
but it doesnt work.
Many Thanks
FP