Archived topic
Typography Headings Line-Height Not Applying
5 replies · Started by David on August 28, 2018
Hi Tom and team,
To start with, I absolutely love GeneratePress. Thank you for all your hard work and effort. It shows in the final product. :)
Just a quick question: When I change the line height in typography for H5, it doesn't actually change on the page, no matter how high I go up (I believe the same is true for all over H tags as well). Have you noticed this? Am I doing something wrong?
Thanks so much!
Hi there,
Nice to hear you're liking GP :)
that would normally mean that some other CSS is overriding the Customiser settings.
Are you using a page builder?
Hi David,
Thanks for the reply. Yes, I'm currently using Elementor to build pages and posts.
Thought so :) Elementor adds its own classes to the heading widget which over rules the theme settings. Aside of using the Text widget and selecting a heading which doesn't do this, you can use CSS like so:
.elementor-widget-heading h5.elementor-heading-title {
line-height: 1.4em;
}
This worked great! Thanks so much David. Have a great day! :)
You're welcome :)