Thanks!
I am playing with the code but so far I was unable to make it working with Pro. (I gave a class to the bar, and tried to apply it to the header navbar = $('header');)
.
Maybe it is conflicting with Header settings. I’ll try more.
Thanks again!
$(document).ready(function () {
'use strict';
var c, currentScrollTop = 0,
navbar = $('nav');
$(window).scroll(function () {
var a = $(window).scrollTop();
var b = navbar.height();
currentScrollTop = a;
if (c < currentScrollTop && a > b + b) {
navbar.addClass("scrollUp");
} else if (c > currentScrollTop && !(a <= b)) {
navbar.removeClass("scrollUp");
}
c = currentScrollTop;
});
});