Private: Home › Forums › HTML Templates › Elvyre Retina Ready HTML5 Template › Menu buttons do not work with Firefox in mobile phones › Reply To: Menu buttons do not work with Firefox in mobile phones
July 21, 2015 at 10:54 am
#3372
Keymaster
Hello Jorge,
We find solution for this problem. Nicescroll script (the one that styles scrollbar) is causing a lot of issues so I removed it on your site and everything is working fine now.
If anyone else has this problem, here are instructions for removing Nicescroll.
Script can be removed in “js / include.js”.
Replace:
$("html").niceScroll().scrollstart(function(event) {
if (!is_touch_device() && event.end.y > 0) {
set_static_header(1);
}
}).scrollend(function(event) {
if (!is_touch_device() && event.end.y == 0) {
set_static_header(0);
}
});
with this:
$(window).scroll(function (event) {
if (!is_touch_device() && $(window).scrollTop() > 0) {
set_static_header(1);
} else {
set_static_header(0);
}
});
Vladimir