[Resolved] Widget Title Line Height Setting

Home Forums Support [Resolved] Widget Title Line Height Setting

Home Forums Support Widget Title Line Height Setting

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #743994
    Arthur

    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?

    #743995
    Leo
    Staff
    Customer Support

    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 πŸ™‚

    #744004
    Arthur

    Unfortunately, it is a members-only site

    #744007
    Leo
    Staff
    Customer Support

    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 πŸ™‚

    #744011
    Arthur

    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.

    #744013
    Leo
    Staff
    Customer Support

    We will take a look. Thanks! πŸ™‚

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.