Archived topic
Font Weight for H1, H2 and H3 doesn't work
13 replies · Started by Cris on July 20, 2017
Hi,
I want to change the Font Weight for H1, H2 and H3 but it doesn't work. (I've tryed with different fonts.) What can I do?
Hi there,
So it doesn't work in customizer preview and live site?
Can you link us to the page? Thanks!
Hi,
Both
I change between normal, bold, 100, 200.... and nothing happens
This happens with any font
Can you check if this line is added in your child theme? https://docs.generatepress.com/article/child-theme-issues/#import
If not can you try #1 here? https://docs.generatepress.com/article/debugging-tips/
I do not have child theme.
I've turned on WP DEBUG but not report problem on my dashboard.
Work well on all fonts less h1, h2, h3 :(
Something else seems to be interfering with the style. Does aui rings a bell? This is what I see: https://postimg.org/image/fknov52bp/45ca1d57/
:O
Any suggestion of what I can do, please?
Have you tried disable all non GP plugins?
I just installed wordpress and generatepress and I still have not installed any plugins
Your heading text is wrapped in <strong> elements.
<strong> elements will set the font weight to 700, which will overwrite the font weight set in the Customizer.
Yes but I do not know why it happens. I just installed everything
It may be a plugin you're using to insert the content? There's a bunch of HTML wrapping your content.
You could try adding this CSS:
h1 strong,
h2 strong,
h3 strong {
font-weight: inherit;
}
Problem resolved!
I have reinstalled everything and works well now.
Thank you!!
Awesome, no problem! :)