Reply To: Big gap between post and footer
Home › Forums › Agama Pro › Big gap between post and footer › Reply To: Big gap between post and footer
February 17, 2017 at 10:29 pm
#3591
Keymaster
Open next file:
wp-content/themes/agama-pro/assets/js/functions.js
Search on line 12 for: THEMEVISION.initialize.bodyHeight(); & remove it.
Search on line 73 to 93 for next code:
/**
* Stick Footer to Bottom
*/
bodyHeight: function() {
var $body = $('body').height();
var $height = $('#main-wrapper').height();
if( agama_pro.is_admin_bar_showing == true ) {
var $bar = 32;
} else {
$bar = 0;
}
var $final = $body - $height - $bar;
if( ! $('#agama_slider').hasClass('camera_wrap') || ! $('#slider-wrapper').hasClass('agama-slider') ) {
if( $height < $body ) {
$('#footer-wrapper').css('margin-top', $final);
}
}
},
and remove it completely.
After those changes gap must be removed.
Regards
-
This reply was modified 6 years, 3 months ago by
Jerry.