[Resolved] Sticky Menu Alignment

Home Forums Support [Resolved] Sticky Menu Alignment

Home Forums Support Sticky Menu Alignment

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #1680057
    Janine

    Hi.

    My sticky menu is not aligned. The search icon is shifting to the second line.

    How can I shift it to the first line of the nav menu?

    Thank you.

    #1680151
    David
    Staff
    Customer Support

    Hi there,

    looks like there isn’t room for it in the navigation – can i see the site ?

    #1681137
    Janine

    Here’s a link to my site.

    It looks okay when I am in the customizer.

    But when I exit the customizer and go to the site, it the search icon shits to the second line.

    Thank you.

    #1681158
    Leo
    Staff
    Customer Support

    Hi there,

    I think the easiest solution is to activate the navigation as header option:
    https://docs.generatepress.com/article/navigation-as-a-header/

    Then set the navigation width to full:
    https://docs.generatepress.com/article/navigation-layout/

    We might need a bit of CSS tweak after but we can help after you set it up first.

    Let me know πŸ™‚

    #1681516
    Janine

    Hi.

    As did as you suggested.

    Now, the the search icon has moved from the left on the second line to the right on the second line.

    What can I do to get up on the first line?

    Thank you.

    #1682229
    Ying
    Staff
    Customer Support

    Hi Janine,

    Try add this CSS:

    #site-navigation.main-navigation .inside-navigation.grid-container {
        padding: 0;
    }
    #1682305
    Janine

    Hi.

    I added the CSS.

    It seems to be working in Chrome, but not firefox and Opera. Weird.

    Any thoughts?

    Thank you.

    #1682348
    Ying
    Staff
    Customer Support

    I tested too, all of them work well.

    Make sure you clear browser cache before test πŸ™‚

    #1682529
    Janine

    I did clear my cache and I still got the misaligned search icon.

    I just opened the site in Edge browswer. I have never visited the site there and the search icon was misaligned.

    Thank you.

    #1682546
    Ying
    Staff
    Customer Support

    Sorry I missed the sticky part.

    Try this:

    #sticky-navigation .inside-navigation.grid-container {
        padding: 0;
    }
    #1682559
    Janine

    Thanks, Ying.

    It worked.

    BE SAFE.

    #1682561
    Ying
    Staff
    Customer Support

    Great! You too πŸ™‚

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