Increase Font Size Within My Menu
-
-
-
The new menu looks good! Here’s a few things you can try to make it easier to read:
@media screen and (min-width: 50em) { .main-navigation > .grid > .row > .twelve > div > ul > li > a, .main-navigation > .grid > .row > .twelve > div > ul > li > ul li > a { font-size: 1em; text-transform: capitalize; font-weight: normal; line-height: 1.4; letter-spacing: 0.03em; } .main-navigation > .grid > .row > .twelve > div > ul > li > ul li > a { padding: 0.5em 1.5em; } }In order this will do the following, so feel free to change the values or delete the lines you don’t want:
- incread the font size
- remove the all capitals formatting
- un-bolden the text
- reduce the line height (for the drop-down menus)
- increase the spacing between letters a little
- remove some of the padding on the sides of the drop downs
-
-
It’s only set to show on desktop/laptop screens so if you’re checking on your phone or tablet you won’t see those changes (the menu collapses for those devices). I don’t see that code in your current custom CSS, did you save it?
For the navigation menu 1 em is the equivalent to 16px, so you can scale it up to 18 by setting it to 1.125em or down to 15 with 0.9375em.
From the screenshot it looks like you’re missing the @media line. Try it again including the entire thing and let me know how it goes.
-
-
Yes, just keep increasing the value you enter in ems. Remember it’s based on 1em = 16px so you can scale it up to 2em = 32px or anything in between – I’ll leave the maths to you :)
- The topic ‘Increase Font Size Within My Menu’ is closed to new replies.





