Heading widget does not inherit line-height
-
I just noticed that, when using a Heading widget, it does not inherit the line-height.
eg In my global styles I want to set
h1 {
line-height: 1.5
}
But I can see by inspecting the heading that it has a line-height of 1 that comes from:
.elementor-widget-heading .elementor-heading-title {
line-height: 1;
}
This is overriding the global style I have set. The reason that we should be able to set the line height like this is for example in mobile when a title wraps ie the title/heading may not always be on one line.Just a suggestion for improvement.
Cheers Simon Buckingham
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Heading widget does not inherit line-height’ is closed to new replies.