Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Add this to your “Custom CSS” part of the dashboard:
.navbar .nav li a {
font-size: 1em;
}
http://www.w3schools.com/cssref/pr_font_font-size.asp
Oh thanks it worked,
What is the difference with this code?
.navbar .nav > li > a {
padding: 5px 16px 5px 16px;
font-size: 23px;
text-shadow: none;
}
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
The font size and the CSS selectors are different.
Using this code:
.navbar .nav > li > a
Will only apply the font size to the top-level menu items and not the sub-menu. Anyway you can’t put “>
” characters into the Custom CSS part of the dashboard for security reasons.
http://stackoverflow.com/questions/4459821/css-selector-what-is-it
I’ve used to put the “<” in the style.css of the children theme, but it doesn’t recognized it anymore, I don’t know why, I’m putting it on the CSS Code of the theme.
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
What does the less than symbol do in CSS?