[Support request] Changing the height of the navigations and menu-item independently

Home Forums Support [Support request] Changing the height of the navigations and menu-item independently

Home Forums Support Changing the height of the navigations and menu-item independently

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1156879
    Shreedhan

    Is there a way to change the nav bar height independent of the menu item height?

    e.g. So I can have a 100px high nav bar with a 60px high menu item to give the appearance of buttons on hover?

    #1156883
    Leo
    Staff
    Customer Support

    Hi there,

    Can you try adding this CSS with your current setup?

    body .main-navigation .main-nav ul li a {
        line-height: 60px;
    }

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

    Let me know 🙂

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