Hi there,
I was given the following code from support a year ago so that when I made customizations to my fixed nav, it would revert back to the original nav when you scrolled back to the top of the page.
jQuery(function($) {
// On scroll
$(window).scroll(function(){
if( $(this).scrollTop() < 1 ) {
$(’.x-navbar’).removeClass(‘x-navbar-fixed-top’);
}
});
});
However, with the latest update the code is no longer working. I’ve attached my site so that you can see.