Hi
I have been using this code:
// Force Footer to Fixed at bottom if content is less
jQuery(document).ready(function($) {
var $main = $(’[role=“main”]’),
$windowHeight = $(window).outerHeight(),
$masthead = $(’.masthead’).outerHeight(),
$wpbar = $(’#wpadminbar’).outerHeight(),
$footer = $(’.x-colophon.bottom’).outerHeight() + $(’.x-colophon.top’).outerHeight();
$main.css(‘min-height’, $windowHeight - $masthead - $wpbar - $footer - 200);
});
to force the footer down the page when the page is short. However, it has stopped since the V4 update. Looks like you no longer have a min-height specified in the role=“main”. How can I get this working again?
Thanks