[Resolved] Navigation menu position

Home Forums Support [Resolved] Navigation menu position

Home Forums Support Navigation menu position

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #180063
    Fernando Díaz Gascón

    I want to put the navigation menu aligned with the logo (the bottom of both, logo and nav menu, in the same line). I tried with the addons and the only one I can make something similar is with “element spacing”, “primary menu items height” but it has the collateral effect of enlarge the icon of sticky menu.

    How can modify the alignment (top-down) of the navigation menu?

    Thanks a lot

    The web I am working on this issue:

    maipacific.com.mialias.net
    usuario: maipac482
    pass: 34OnUnwQ

    #180102
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Give this a shot:

    .site-header .main-navigation:not(.navigation-clone):not(.is_stuck) {
        margin-top: 10px;
    }

    Adding CSS: https://generatepress.com/knowledgebase/adding-css/

    Adjust the px as needed 🙂

    #180124
    Fernando Díaz Gascón

    Perfect, as always.

    #180129
    Tom
    Lead Developer
    Lead Developer

    Awesome 🙂

    #226619
    Henrik

    How will this work with a sticky menu? I tried your suggestion but when scrolling down the sticky menu ist place 40px below the top.

    Thanks a lot.

    #226699
    Tom
    Lead Developer
    Lead Developer

    Good point! I just adjusted the code above to take sticky menus into account 🙂

    #226872
    Henrik

    Thank you for your quick response. Unfortunately the code above still doesn’t work. Am I doing somethin wrong? The menu is still 10px below the top when scrolling. I configured the menu to be sticky on desktop and on mobile.

    Thanks a lot for your great theme. It is awesome!

    #226996
    Tom
    Lead Developer
    Lead Developer

    Have you tried clearing your browser cache?

    If so, can you link me to the site so I can see? 🙂

    #227725
    Tom
    Lead Developer
    Lead Developer

    I just adjusted the above CSS so it should work now 🙂

    #227870
    Henrik

    Thanks a lot. That works great 🙂

    #228061
    Tom
    Lead Developer
    Lead Developer

    You’re welcome 🙂

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