• Resolved Swan1305

    (@swan1305)


    Is there a way to make the title line height less than the height of the post title font please? I’ve tried various settings in this format but the line height won’t go below the font height. I’m using the shortcode version with added css:

    .wpp-post-title {
    font-size: 15px !important;
    color: #5E5E5E !important;
    font-weight: 550;
    line-height: 0.75em !important;
    }
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Hector Cabrera

    (@hcabrera)

    Hey there!

    Well, that should work. I don’t see anything wrong with it.

    Can you share your site’s URL so I can have a look?

    Thread Starter Swan1305

    (@swan1305)

    xxx

    • This reply was modified 1 year, 8 months ago by Swan1305.
    Plugin Author Hector Cabrera

    (@hcabrera)

    From what I see you either haven’t added these new rules to your site yet or I’m seeing a cached version of your homepage where these rules hadn’t been applied yet:

    Thread Starter Swan1305

    (@swan1305)

    Sorry I was playing with it – can you look again pls?

    Plugin Author Hector Cabrera

    (@hcabrera)

    Not sure why it’s not accepting the line-height attribute without explicitly declaring the display attribute but this should do the trick:

    .wpp-post-title {
        display: inline-block;
        font-size: 15px !important;
        color: #5E5E5E !important;
        font-weight: 550;
        line-height: 0.75em !important;
    }
    Thread Starter Swan1305

    (@swan1305)

    That’s great, thank you!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Line Height’ is closed to new replies.