Fixed position - keep visible when scrolling

Home Forums Older releases 1.0.x Fixed position - keep visible when scrolling

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2906
    fozzyo
    Participant

    I’ve done some searches but haven’t found the answer I’m looking for. Is it possible to fix the position of the mobile menu at the top of the screen? I have some quite long pages (just over a screen or two) and it seems daft to have to scroll all the way back to the top of the page to get to the menu again.

    Setting the CSS position: fixed breaks the width of the menu so it doesn’t fit right across the screen.

    Thanks!
    Mat

    #2907
    admin
    Keymaster

    You need to set position: fixed; either to the root UL element, or to some of its parent containers. What is the problem of setting a specific width as well? If it causes any issues, you can also try experimenting with setting left and right instead of width.

    If you are still having troubles, please post some kind of demo URL and explain what exactly you are trying to achieve and I will check it.

    Cheers!

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Register

You will be emailed a link to set your password.

Login

Lost password?