Some of you might have noticed a… “short” bug after installing Mantra’s latest update.
More precisely, the content area appears too short, throwing part the last post or the pagination somewhere under the footer.
For the more tech-savy of you, the fix is to edit the mantra/js/frontend.js file (there’s no way to use WordPress’ built-in editor for this file, you’ll have to resort to the basic FTP/control panel editor method), look for
var h1 = jQuery("#primary").height();
var h2 = jQuery("#content").height();
var h3 = jQuery("#secondary").height();
var max = Math.max(h1,h2,h3);
Delete this whole part.
This bug will be permanently exterminated before the next update is released.
For those of you wondering what this code does – this was meant to be an improvement that made the sidebar(s) the same height as the content area – in conjunction with the new sidebar(s)/content background colours options this should have made sure there was no colourless area under the sidebar when the sidebar has less content than the page.