Lol, I see you don't understand what I'm trying to write here.
So here is the solution, but please don't complain if somebody tells you that the site's navigation will not work on iOS.
gk_cloudhost/css/menu/menu.css
change:
- Code: Select all
#gkMenuWrap {
background: #fff;
-webkit-box-shadow: 0 0 6px rgba(0, 0, 0, .26);
-moz-box-shadow: 0 0 6px rgba(0, 0, 0, .26);
box-shadow: 0 0 6px rgba(0, 0, 0, .26);
min-height: 70px;
left: 0;
position: absolute;
-webkit-transition: top .2s ease-out;
-moz-transition: top .2s ease-out;
-ms-transition: top .2s ease-out;
-o-transition: top .2s ease-out;
transition: top .2s ease-out;
top: -150px;
width: 100%;
z-index: 1001;
}
to
- Code: Select all
#gkMenuWrap {
background: #fff;
-webkit-box-shadow: 0 0 6px rgba(0, 0, 0, .26);
-moz-box-shadow: 0 0 6px rgba(0, 0, 0, .26);
box-shadow: 0 0 6px rgba(0, 0, 0, .26);
min-height: 70px;
left: 0;
position: fixed;
-webkit-transition: top .2s ease-out;
-moz-transition: top .2s ease-out;
-ms-transition: top .2s ease-out;
-o-transition: top .2s ease-out;
transition: top .2s ease-out;
top: -150px;
width: 100%;
z-index: 1001;
}
remove this part (same file):
- Code: Select all
.imageBg #gkMenuWrap {
-webkit-transition: top .2s ease-out;
-moz-transition: top .2s ease-out;
-ms-transition: top .2s ease-out;
-o-transition: top .2s ease-out;
transition: top .2s ease-out;
}
and finally edit this file:
gk_cloudhost/js/gk.menu.js
and remove this part:
- Code: Select all
// Fix for iOS devices with iOS >= 8.0
var menuWrap = jQuery('#gkMenuWrap');
if(menuWrap.length) {
jQuery(window).on('scroll', function(e) {
if(menuWrap.hasClass('active')) {
menuWrap.css('top', jQuery(window).scrollTop());
} else {
menuWrap.css('top', '-100px');
}
});
}
// fix for the iOS devices