• Resolved psp111

    (@psp111)


    Hey there, I’m just wondering how do I make the font of my main menu larger?

    Thank you

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author Shaped Pixels

    (@shaped-pixels)

    This one you will need to do some minor custom CSS. If you are using Jetpack, you can do this with its own Custom CSS feature, otherwise, if you are using a child theme, you can use/edit the child theme’s style.css file, or, you can use a popular plugin called “Simple Custom CSS”.

    The default css for the menu and it’s font size is:

    .main-navigation {
        font-size: 0.813rem;
        font-weight: 400;
        text-transform: uppercase;
    }

    So you will want to change the font size like this as your custom CSS code:

    .main-navigation {
        font-size: 0.813rem;
    }

    The font is using the size unit of “rem” instead of px (pixels) so that it keeps the font size relative and not fixed (always that size regardless). To find out what an rem value is in pixels, you can use this https://www.pxtoem.com online tool for reference. IT uses em’s but these can be used for rem instead. So a 1rem is 1em which is 16px.

    As a side note, I realized I did not add any kind of typography management to this theme, not even basic settings. So I just made a note to add this feature to a theme update for Morphology.

    Thread Starter psp111

    (@psp111)

    Thank you that helped! I got the Simple Custom CSS and went from there. Thanks a lot!

    Theme Author Shaped Pixels

    (@shaped-pixels)

    Good to hear, and you are very welcome ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How To Get Larger Menu Font?’ is closed to new replies.