• Creator
    Topic
  • #8185

    Spiros Doikas
    Spectator
    Been thanked: 0 times

    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.

Viewing 15 replies - 1 through 15 (of 15 total)
Replies
  • Roman
    Keymaster
    Post count: 2542
    Been thanked: 29 times
    #8748 |

    which browsers versions have you try?

    Spiros Doikas
    Spectator
    Post count: 49
    Been thanked: 0 times
    #8750 |

    Google Chrome Version 31.0.1650.63 m
    FF 25
    Opera/9.80 (Windows NT 6.1; WOW64) Presto/2.12.388 Version/12.16

    Roman
    Keymaster
    Post count: 2542
    Been thanked: 29 times
    #8751 |

    You mean sticky header?

    Spiros Doikas
    Spectator
    Post count: 49
    Been thanked: 0 times
    #8752 |

    Yes.

    Also, looks like there is a z-index issue in some cases, as with videos or even images
    http://www.siderman.gr/ena-tragoudi-gia-ton-orfea/5/ (try the menu Κείμενα using Chrome)

    2tkw.png

    Roman
    Keymaster
    Post count: 2542
    Been thanked: 29 times
    #8755 |

    hm….tried exactly same chrome version 31.0.1650.63 m and the sticky header woks fine….weird…the menu is only overlapping in the IE…will fix that…

    Spiros Doikas
    Spectator
    Post count: 49
    Been thanked: 0 times
    #8768 |

    Did you test the above page? Did you also check z-index (menu items going below video or image)?

    Just tested again with IE 11 and Chrome 31.0.1650.63 m – no sticky header. Same in Opera.

    Roman
    Keymaster
    Post count: 2542
    Been thanked: 29 times
    #8772 |

    yes I tried in IE 9, same chrome version and Opera 12.16 . I had only problem with IE…it’s overlapping video..as you said

    Michael Gordon
    Spectator
    Post count: 8
    Been thanked: 0 times
    #8778 |

    I am having a similar issue with it not working, but now my sticky header does not work in any browser.
    http://www.dbphoenixcriminallawyer.com/

    Any suggestions?

    Spiros Doikas
    Spectator
    Post count: 49
    Been thanked: 0 times
    #8779 |

    Try enabling it. Theme options, header options, Sticky Header.

    Spiros Doikas
    Spectator
    Post count: 49
    Been thanked: 0 times
    #8785 |

    In my case sticky header still only works with FF, tested in other PCs too.
    Also, menu overlap occurring with images too:

    http://www.siderman.gr/o-erotismos-stin-tehni/

    y28d.png

    Michael Gordon
    Spectator
    Post count: 8
    Been thanked: 0 times
    #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
    Keymaster
    Post count: 2542
    Been thanked: 29 times
    #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
    Post count: 8
    Been thanked: 0 times
    #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
    Keymaster
    Post count: 2542
    Been thanked: 29 times
    #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
    Post count: 8
    Been thanked: 0 times
    #8797 |

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

Viewing 15 replies - 1 through 15 (of 15 total)
You must be logged in to reply to this topic.