Most of the Joomshaper Templates have a slider button to turn off the annoying menu going up and down, but i cant find this in shaper_glamour
I need the menu to stay put all the time, how can i do this?
#sp-header-wrapper .container {
background: rgba(0, 0, 0, 0.7);
}
#sp-breadcrumb-wrapper {
margin-top: 130px;
}
#sp-header-wrapper {
position: fixed !important;
width: 100%;
z-index: 9999;
top: 0;
left: 0;
right: 0;
}
#sp-smart-slider {
margin-top: 139px;
}
//Sticky Menu
var menu_wrapper = $('#sp-header-wrapper');
var windowWidth = $(window).width();
if (windowWidth > 979){
var stickyNavTop = menu_wrapper.offset().top;
var stickyNav = function(){
var scrollTop = $(window).scrollTop() > 100;
if (scrollTop > stickyNavTop) {
menu_wrapper.addClass('menu-fixed').fadeIn(400);
}
else
{
if(menu_wrapper.hasClass('menu-fixed'))
{
menu_wrapper.removeClass('menu-fixed').removeAttr('style');
}
}
};
stickyNav();
$(window).scroll(function() {
stickyNav();
});
}else{
menu_wrapper.removeClass('menu-fixed');
}
#sp-header-wrapper {
position: relative;
width: 1170px !important;
z-index: 9999;
top: 0;
background: rgba(0, 0, 0, 0.7) !important;
margin: 0 auto;
}
#sp-header-wrapper.menu-fixed {
margin: 0 auto;
width: 1170px !important;
position: relative;
z-index: 9999;
position: fixed;
top: 0;
left: 0;
right: 0;
}
All i want is to have a fixed menu at the top of shaper_glamour