Archived topic
Widget Title Line Height Setting
5 replies · Started by Arthur on November 29, 2018
I've set the H2 Heading to a line-height of 1.2em under Customizer > Typography > Headings. I also changed the Widget Title font-size under Customizer > Typography > Widgets. For some reason, the Widget Title line-height is reverting back to 1.5 (which is the global body text line-height).
Is this a bug?
Hi there,
Any chance you can link us to the site in question?
You can edit the original topic and use the private URL field.
Let me know :)
Unfortunately, it is a members-only site
The line height of h2 actually doesn't apply to the widget titles (expected behavior).
There isn't a customizer option for widget title line height either currently so we will need to use this CSS:
.widget-title {
line-height: 1.2em;
}
Adding CSS: https://docs.generatepress.com/article/adding-css/
Let me know if this helps :)
Sounds good. Applying CSS is simple for me as the developer, but it would be nice to include a customizer option.
Thanks for your help.
We will take a look. Thanks! :)