Hi @shahulakthar.,
You need to add this lines on your child theme style.css file
.textwidget h5 {
font-size: 18px;
/* WHATEVER YOU WANT*/
}
.textwidget p {
font-size: 14px;
/* WHATEVER YOU WANT*/
}
Theme Author
Tom
(@edge22)
What font did you try to change it to? I see it’s currently set to the default System Stack.
By default the h5 elements will look just like regular paragraph elements.
Thread Starter
ak
(@shahulakthar)
Now i changed the font to anton but i don’t find any change.
I added whatfont chrome extension to find the font in my website. It always show system-ui.
Thanks,
Akthar
Theme Author
Tom
(@edge22)
Ah, remove this line from your child theme style.css file:
@import url("../generatepress/style.css");
That will fix it 🙂
Thread Starter
ak
(@shahulakthar)
Thanks Tom. That works!
My home Page contain site origin feature widgets. Its title is displaying in h5 tags. It is not looking any different from paragraph texts. Please suggest an option to differentiate heading tag <h5> from <p> tag.
NOTE: By applying ribbon lite theme. I can see that h5 tag is displaying in bold compared to p tag.
Thread Starter
ak
(@shahulakthar)
@rajan thanks.
I temporarily fixed by adding the following code.
.textwidget h5 {
font-weight: bold;
}
Theme Author
Tom
(@edge22)
Glad you got it working 🙂