Hello,
there seems to be a problem with the menu when i scroll back up to the top of the page the menu disappears unlike your joomla template JA APPOLIO where the menu stays when u scroll all the way up to the top. Can please someone offer some help on this issue.
Thanks
1 answer
To remove that feature, you can open the app\design\frontend\default\jm_itechtemplate\page \html\header.phtml file, you would see the block of code:
PHP Code:
$(window).scroll(function(e){
var currentScroll = $(this).scrollTop();
if (currentScroll > previousScroll){
$("#jm-header").removeClass("sticky").addClass("sticky-out");
} else if(previousScroll > 20) {
$("#jm-header").removeClass("sticky-out").addClass("sticky");
$("#jm-wrapper").removeClass("sticky-out").addClass("sticky");
}
previousScroll = currentScroll;
});
Then, change it to:
PHP Code:
$(window).scroll(function(e){
if(previousScroll > 20) {
$("#jm-header").removeClass("sticky-out").addClass("sticky");
$("#jm-wrapper").removeClass("sticky-out").addClass("sticky");
}
});
Hope this help.