[Resolved] Different size of menu items in navigation bar

Home Forums Support [Resolved] Different size of menu items in navigation bar

Home Forums Support Different size of menu items in navigation bar

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #283207
    Adrie

    I want to be able to have different sizes in my navigation bar. I want the menu items to be 15 px large and the social icons and search icon 20 px.

    Is there a way to make this possible or has everything to be the same size.

    Thanks in advance

    #283218
    Leo
    Staff
    Customer Support

    Hi Adrie,

    First set the Font size to 15px in Customizer > Typography > Primary Navigation.

    Then add this CSS to make the font awesome icons 20px:

    .main-nav .fa {
        font-size: 20px;
    }

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

    Let me know.

    #283315
    Adrie

    Leo,

    Thanks for your help. That worked. It’s now as I wanted it.

    Thank you

    #283476
    Leo
    Staff
    Customer Support

    You’re welcome!

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