Greetings Themeco.
Good Morning from Malaysia.
I’ve read some article here Themeco Forum (X Pro), I tried and seems almost work already!. As programming code:
Theme Option > Globas JS:
(function($){
var lastScrollTop = 0;
$(window).scroll(function(event){
var st = $(this).scrollTop();
if (st > lastScrollTop){
$(’.x-masthead’).removeClass(‘nav-up’).addClass(‘nav-down’);
} else {
$(’.x-masthead’).removeClass(‘nav-down’).addClass(‘nav-up’);
}
lastScrollTop = st;
});
})(jQuery);
and, Theme Option > Globas CSS
.x-masthead {
transition: opacity 1s ease;
}
.x-masthead.nav-up {
opacity: 1;
}
.x-masthead.nav-down {
opacity: 0;
}
and I did changed “transition: opacity 1s ease;” to “transition: all 1s ease;”
All I need to make the Navigation Bar ease smoothly while hide and appear.
Please help guys… you’re my only hope!
Sincerely
Ady