[Resolved] Stop nav menu jumping down on browser resize

Home Forums Support [Resolved] Stop nav menu jumping down on browser resize

Home Forums Support Stop nav menu jumping down on browser resize

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #409744
    Faye

    Hi there,

    I have a logo and nav bar, with the nav bar aligned to the right of the logo at the top of the webpage.

    As I reduce the browser window size, the nav bar jumps down to underneath the logo.

    Is there any way I can prevent this jump? Can I keep them all in the top line no matter what and just switch to mobile menu if the screen is too small to display the full menu?

    Thanks.

    (My url is password protected on a staging server – if it helps I can pm details over?)

    #410013
    Leo
    Staff
    Customer Support

    Hi there,

    If you are using normal header: https://docs.generatepress.com/article/mobile-navigation/#initiating-the-mobile-navigation-at-a-different-width

    If you are using mobile header: https://gist.github.com/generatepress/282078076cd8631c17717d5b8640c043

    There is a new feature in plan to make this a lot easier πŸ™‚

    #410524
    Faye

    Thanks Leo. That did work, but I had to have the setting quite high.

    Decided to change colours instead (it wasn’t transitioning very gracefully colour-wise as different nav bar colour to background, but looks better now all uniform).

    Thanks for your help πŸ™‚
    Faye.

    #410682
    Leo
    Staff
    Customer Support

    No problem πŸ™‚

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