[Resolved] Change font size of the word “Menu” next to hamburger on mobile

Home Forums Support [Resolved] Change font size of the word “Menu” next to hamburger on mobile

Home Forums Support Change font size of the word “Menu” next to hamburger on mobile

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1547071
    spicerdigital

    Hi there!

    I’d like to change the font size as per above as it looks too large on mobile, and therefore out of step with the rest of the site design. What is the best way of doing this, please?

    Many thanks in advance!

    #1547137
    Leo
    Staff
    Customer Support

    Hi there,

    Try this CSS:

    @media (max-width: 768px) {
        .main-navigation span.mobile-menu {
            font-size: 17px;
            width: 1em;
            height: 1em;
            top: -0.125em;
            position: relative;
        }
    }

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

    Let me know if this helps πŸ™‚

    #1547425
    spicerdigital

    Hi Leo

    That’s worked beautifully. Thank you!

    Next question is how do I get it so it is aligned centrally with the burger in the hamburger, if you get my meaning? πŸ™‚

    #1547579
    Leo
    Staff
    Customer Support

    Can you link me to the page in question?

    #1547585
    spicerdigital

    Sure.

    #1547632
    Leo
    Staff
    Customer Support
    #1547665
    spicerdigital

    Amazing! It looks awesome! Thank you, Leo!

    #1547697
    Leo
    Staff
    Customer Support

    No problem πŸ™‚

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