September 11th, 2020 at 16:06 #107310
I’m using Nirvana, super happy with it. I can’t however change the font-size of H1/H2/H3 tags.
I’ve tried with classes. I’ve created a css-class in the style.css but the font-size still doesn’t change.
I can change other things. For example, I can change the font-weight with an H1-class. But the font-size never changes.
How do I go about changing that?
<h1 class=”example”>Test</h1>September 14th, 2020 at 18:57 #107406ZedCryout Creations mastermind
In Nirvana the heading font sizes are configurable (relative to the general site font size) through the theme’s settings – look for the Typography settings:
https://www.cryoutcreations.eu/docs/themes-legacy/settings/text/#headings-fontSeptember 15th, 2020 at 10:02 #107421
Thank you for your response. That works, but is there a way to bypass this and change the font-size of a specific H1 with CSS?September 27th, 2020 at 19:35 #107714ZedCryout Creations mastermind
Of course you can override styling, but you need to ensure your custom styling is more specific than existing one.
As a solution that works (almost) every time, copy the exact identifier that currently applies last (from the browser’s developer console) and prepend
bodyto that identifier to make it slightly more specific.
The topic ‘Change font-size of H1/H2’ is closed to new replies.