$(window).resize(function () { $('body').css('padding-top', parseInt($('#main-navbar').css("height"))); });
Kleanthios Stegi