Hi Carel,
In that case, you can use the modified code by adding it into the Theme Options > JS. I have tried the code using the browser debugger console and found it’s working.
jQuery(document).ready(function($) {
var main = jQuery('.x-main');
var masthead = $('.masthead').outerHeight();
wpbar=-32;
if(jQuery("#wpadminbar").length)
{
wpbar = ('#wpadminbar').outerHeight();
}
var footer = $('.x-colophon').outerHeight()
totalHeight = masthead + wpbar + footer;
$('.x-main').css('min-height', 'calc(100vh - ' + totalHeight + 'px)' );
});
Please remember that the above code will work if copied as it is and don’t conflict with any existing style.
Please note that the code provided serves only as a guide to help you get started custom coding on your own if there’s no option offered in our theme or the products we bundle.
We really do not provide support for custom codes that means we can’t fix it in case it conflicts with something on your site nor will we enhance it.
Thanks