Skip to content Skip to main menu Skip to utility menu

Sticky Header

Home Forums GovIntranetters Sticky Header

This topic contains 3 replies, has 3 voices, and was last updated by  jaylopez 7 months, 2 weeks ago.

  • Author
    Posts
  • #2873

    Michael Link
    Participant

    Is there a way within the theme to keep the header (or just the menu navigation really) “frozen” at the top of the screen while a user scrolls. This would be especially helpful on Mobile. Thanks for any insight.

    – Michael

  • #2936

    Michael Link
    Participant

    Bump.

  • #2939

    Luke Oatham
    Keymaster

    There are no plans to implement this at the moment.

    It’s possible to do if you’re using a child theme and can make changes to your templates. It would require a bit of reworking of the header.
    See https://getbootstrap.com/examples/navbar-fixed-top/

  • #3005

    jaylopez
    Participant

    Hi Michael. I was able to create a sticky header for our site very easy using the free Sticky Header plugin by ThematoSoup from the WordPress repo. You can adjust the color, size of letters, and other stuff from the plugin settings. Using custom CSS you can change the reserve space for the admin bar if needed.

    Attachments:
    You must be logged in to view attached files.

You must be logged in to reply to this topic.