1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.5 Sticky Navigation

Discussion in 'Styling and Customization Questions' started by CarpCharacin, Aug 19, 2016.

  1. CarpCharacin

    CarpCharacin Active Member

    How do I create a sticky navigation menu with the mod bar?
     
  2. Amaury

    Amaury Well-Known Member

    You could use a notice.
     
  3. CarpCharacin

    CarpCharacin Active Member

    How do I do that? I want these bars to stay at the top of the page when I scroll down and I want it to work on mobile devices.
     

    Attached Files:

  4. Amaury

    Amaury Well-Known Member

    Admin CP > Notices
     
  5. rainmotorsports

    rainmotorsports Well-Known Member

    I personally have no clue what you are on about either.

    Bassman has a plugin that works on stock themes that has a ton of options.

    I also have one that is free. I need to push out a slight update to fix a couple of zindexes but it's the simplest way to do it as well. Can also look at the template changes and introduce them directly into your theme if you want.
     
  6. Amaury

    Amaury Well-Known Member

    Ignore me.

    I'll use @Lisa's excuse and say I need coffee, even though I don't drink coffee.
     
    Lisa likes this.
  7. Lisa

    Lisa Well-Known Member

    :mad:



    :coffee:
     
  8. Kevin

    Kevin Well-Known Member

    Are you trying to get just the mod bar to be sticky or the whole nav bar?

    If the whole bar, here's a thread you may be interested in..... https://xenforo.com/community/threads/sticky-header-and-navigation-like-digital-point.68167/ You can see some example changes that somebody did for a sticky nav bar and discussion on the topic.

    EDIT: And a resource..... https://xenforo.com/community/resources/how-to-create-a-a-sticky-navigation-menu.3004/
     
  9. rainmotorsports

    rainmotorsports Well-Known Member

    @Kevin he might want to tear my add-on apart looking at those 2 links.

    There are a lot of problems people overlooked or didn't notice.

    The big one is post links need to handled so that the page will offset the post or whatever resource is linked down from the navgation. Bassman did it one way I found a different way. I know of a third.

    The other one missed here and there is setting the zindex too high will cause the navigation to show up over the overlay.

    I have also seen full theme solutions from major players here that don't float the mod bar and that's something I prefer to float.

    Margined sites don't play well with the digital point box shadow design. Bassman put an option in his to move the search upwards. I included instructions I believe.

    A lot of little things.
     
    Kevin likes this.
  10. rainmotorsports

    rainmotorsports Well-Known Member

Share This Page