Archived topic
Adding CSS for Dummys;-)
5 replies · Started by Andreas on October 25, 2017
Hi, I´m very new in GP and i have following problem:
I want to change the font size in the dropdown-area of the main menu.
I found class that should fix that:
.main-navigation ul ul {
width: 250px;
}
But i have no idea, where to put it and how to "activate" it ...
i tried to copy that into "Additional CSS", but that didn`t work ...
How you can give me a step by step solution;-)
Thank you
Andi
Hi there,
That changes the submenu width, not the font size.
Try this to change the submenu font size:
.main-navigation .main-nav ul ul li a {
font-size: 20px;
}
Additional CSS should work :)
Hi,
Thank you for your answer..
But how and where do i ad the CSS?
As you might recognize, i`m really new in WP;-)
Documents is a good place to start here's one on CSS
https://docs.generatepress.com/article/adding-css/
The Additional CSS is the right place. But i would recommend downloading Tom's Simple CSS plugin, its great and its free
Hi,
Simple CSS worked, Thank you!!
Glad we could help!