A great offering to our clients and visitors!
Professionally managed Wordpress hosting - act now to receive 3 months FREE on annual plans.
Professionally managed Wordpress hosting - act now to receive 3 months FREE on annual plans.
When scrolling down, only in Firefox, the menu remains on the top of the page. I wonder why it does not work on the other browsers.
Thank you… I did do that. I think I may have overwritten something some how when I updated it. It worked before I updated it.
as Spiros mentioned you need to have it enabled in the theme options….when I check your code, the script is missing… have you try to disable some plugins and see if it helps? btw, you are using evolve theme, not alora.
Roman, My apologies for posting in the wrong forum. After searching this is what came up.
Thanks for the tip. I do have it enabled in the theme options. I must have altered the header and accidentally removed the script. What is the name of it of the file?
actually the script is included in the footer area. please check if you have this in library/functions/basic-functions.php line # 224:
<script type=”text/javascript” charset=”utf-8″>
//
//
//
// Sticky Header
//
//
//
jQuery(document).ready(function($) {
if(jQuery(‘.sticky-header’).length >= 1) {
jQuery(window).scroll(function() {
var header = jQuery(document).scrollTop();
var headerHeight = jQuery(‘.menu-header’).height();
if(header > headerHeight) {
jQuery(‘.sticky-header’).addClass(‘sticky’);
jQuery(‘.sticky-header’).fadeIn();
} else {
jQuery(‘.sticky-header’).removeClass(‘sticky’);
jQuery(‘.sticky-header’).hide();
}
});
}
});
</script>
<?php } ?>
Ahh… that was it. Many thanks. Not sure how I deleted that, but thanks again.
The topic Menu appears on top when scrolling in FF but not Chrome/Opera is closed to new replies