Changing line-height

  • Unknown's avatar

    Goodday! :)

    Still pimping my blog: karinkoolen.com ;-)

    A while ago I figured out how to use pull quotes in my posts, thanks to thesacredpath!
    Now I would like to widen the line-height throught my entire posts. I’ve tried some CSS, but it only seems to widen the paragraph next to where I used pull quotes. I’ve tried this:

    p {
    line-height:18px;
    }

    Where and how do I have to insert the (which?) code, so that the line-height throught my entire post gets a bit bigger?

    Thank you very much!
    Karin

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    It looks like most of your posts are actually using h4 as the tag so you might want to add line height to the h4 element (or switch the h4 to paragraphs and then stylize the paragraph to look like the current h4).
    Your code might look something like:

    .wf-active h4 {
    font-family: ubuntu-1,ubuntu-2,Georgia,Cambria,"Times New Roman",Times,serif;
    font-style: normal;
    font-weight: 400;
    font-variant: normal;
    font-size: 1.1925em;
    line-height: 23px;
    }

    I hope this helps.

  • Unknown's avatar

    Thank you so much, Cousett! It works great! :)

  • Unknown's avatar

    Great so glad it worked!

  • The topic ‘Changing line-height’ is closed to new replies.