Archived topic
Any option for em or rem rather than px for text size
3 replies · Started by Gillian on January 6, 2018
Viewing posts 1–4 of 4
Is there any way to have text size for H1, H2 etc set as em or rem rather than px?
Thanks
Hi there,
We can use CSS for now:
h1 {
font-size: 2em;
}
h2 {
font-size: 1em;
}
Adding CSS: https://docs.generatepress.com/article/adding-css/
Thanks Leo
Just to clarify - if I put CSS in the GP Additional CSS, it won't be lost on any theme upgrade?
Regards
Yup that's correct :)
This archived topic is closed to new replies.