Reply To: Footer is not on the bottom, if there is no content to push it down.

#10034107
Support
Keymaster

Hello Zoran, first thanks for your purchase.

The response of our support normally is 16 ~ 24 hours at business days. On weekends this time increase. Regarding your issue, please try adding the given code below at “js/custom.js” file:

var header = $('#header'),
	footer = $('#footer'),
	main = $('.main'),
	height = 0,
	setMainHeight = function() {
		height = ($(window).height() - header.outerHeight() - footer.outerHeight()) -50;
		main.css('min-height', height);
	};
	
setMainHeight();

$(window).resize(function() {
	setMainHeight();
});

Please try that and let us know if you need further assistance.

Kind Regards,

Rodrigo.


If you are satisfied with Porto HTML and our support, please leave your comment and rating on ThemeForest downloads page. That helps us a lot: https://themeforest.net/downloads