• Closed
  • Spiros Doikas
    Spectator
    December 14, 2013 at 9:24 pm #8185

    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.

    Michael Gordon
    Spectator
    Posts: 8
    December 17, 2013 at 2:01 pm #8786

    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.

    Roman
    Spectator
    Posts: 3147
    December 17, 2013 at 2:22 pm #8790

    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.

    Michael Gordon
    Spectator
    Posts: 8
    December 17, 2013 at 4:43 pm #8791

    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?

    Roman
    Spectator
    Posts: 3147
    December 18, 2013 at 10:30 am #8794

    actually the script is included in the footer area. please check if you have this in library/functions/basic-functions.php line # 224:

    Code:
    <?php $evl_sticky_header = evl_get_option(‘evl_sticky_header’,’1′); if ( $evl_sticky_header == “1” ) { ?>

    <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 } ?>

    Michael Gordon
    Spectator
    Posts: 8
    December 18, 2013 at 5:07 pm #8797

    Ahh… that was it. Many thanks. Not sure how I deleted that, but thanks again.