Start a new discussion

To start a new discussion please visit the discussions section of the GitHub home page of the project.

Discussions on GitHub

You can also search our old self-hosted forums for any useful information below but please note that posting new content here is not possible any more.

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)
  • The forum ‘1.0.x’ is closed to new topics and replies.