Site logo

[Resolved] How to vertically align menu items to the horizontal line of the logo?

Home Forums Support [Resolved] How to vertically align menu items to the horizontal line of the logo?

Home Forums Support How to vertically align menu items to the horizontal line of the logo?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1828689
    Carlo

    Hi there,

    please see the link in the private info window.

    How can I have the baseline of the letters of menu items aligned to the black horizontal line of the logo?

    Thank you. All the best. Carlo

    #1828774
    Ying
    Staff
    Customer Support

    Hi Carlo,

    Try this CSS:

    
    @media (min-width: 1414px) {
        .main-navigation .main-nav ul li, .menu-toggle, .main-navigation .menu-bar-item {
            padding-top: 25px;
        }
        #masthead {
            margin-top: -12x;
        }
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    Maybe reduce the menu item line-height a bit at customizer > layout > Primary navigation to tweak the look.

    #1831310
    Carlo

    Hi Ying,

    it works 🙂

    Thank you

    #1831326
    Ying
    Staff
    Customer Support

    Great!

    You are welcome 🙂

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