[Resolved] Top margin of the Main Menu

Home Forums Support Top margin of the Main Menu

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1026809
    Yann

    Hi,
    I would like to add a margin on top of the main menu, so that is it aligned with the middle of the logo (now, it is too much on top of the page). How to do that ? I tried to add margin-top: 50px; in the rtl.css in main-navigation but without success.
    Thanks.

    #1026873
    David
    Staff
    Customer Support

    Hi there,

    one method would be to increase the Menu Item height in Customizer > Layout > Primary Navigation to match the logo e.g 65px.

    Or use the Navigation as Header Option:

    https://docs.generatepress.com/article/navigation-as-a-header/

    #1027075
    Yann

    Ok Thanks David.
    The NaH option made my logo so tiny I cannot use it (I guess the automatic height is according to the width and my logo is rectangular. Maybe something to fix on GP).
    I managed with the menu height at 60px even if it is a lot for mobile.
    Regards.

    #1027147
    David
    Staff
    Customer Support

    FYI the NaH logo is based on the Menu Item height as well.
    Glad you found a working solution

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