Hi people, I would like to reopen your answer on https://theme.co/apex/forum/t/fixed-navbar-static-navbar-covers-content/
I implemented your advised Javascript but it still doesn’t fix the problem. Can you please help?
Hi Lisa,
Thank you for reaching out to us. Please replace the previously given JS with the following one in the Theme Options > JS:
function stop_jumps() {
jQuery('header.masthead').css('height', jQuery('.x-topbar').height() + jQuery('.x-navbar').height());
}
jQuery(document).ready(function(){
stop_jumps();
});
jQuery(window).resize(function(){
stop_jumps();
});
Don’t forget to clear all caches including your browser’s cache after adding the code. Let us know how this goes!
Hi, this does the trick! Thanks!
You’re welcome.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.