Archived topic
How to add an extra font size
3 replies · Started by Eva on September 24, 2017
Hello!
I am quite new to GP and GPP, but I really love the theme and its possibilities.
For a web site I am making I would like to add an extra big font size to use as a sort of intro text on all pages (with sections). I am using the H4 now, but I think that's not the solution. So I would like to add an extra size to the CSS. Can anyone help me out and tell me how to do this?
Thanks in advance!
Eva
Hi Eva,
You can wrap the text in a span like this:
<span class="intro-text">text here</span>
Then target it with this CSS:
.intro-text {
font-size: 20px;
}
Adding CSS: https://docs.generatepress.com/article/adding-css/
Thank you very much for your fast reply, Leo.
So simple, and yet so efficient!
It works really well.
Cheers,
Eva
You're very welcome :)