I’m trying to make a top navigation menu on a WordPress site have a reduced font size. I’m using Elegant Themes’ Divi 2.3.1 theme with a child theme set up on it. I’m also using the Chrome Inspector tool to highlight the top-nav CSS element and add the desired font size declaration.
The problem is, when I do that, it has very little relative effect no matter what I set the font size to. Perhaps I’ve been staring at this too long, but I’ve gone up and down the tree in the inspector, placing “font-size:9px;” everywhere and cannot figure out where the font-size declaration will have the desired effect. Not even using !important helps.
Basically I just need to get the font size down to where it no longer wraps down a line whenever the browser window is sized at 981px wide and above. Any clues out there?
Problem:
You were trying to alter the font-size of
>
symbol, the value of which is 9px.Solution:
You need to alter the value of the font-size property in below rule.