Support » Themes and Templates » Line spacing

  • Resolved blogmd2

    (@blogmd2)


    Hi,

    I would like to chance the line spacing for my posts. Does anyone know the right code or any other way to do this?

    Tnx in advance…

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Mark Ratledge

    (@songdogtech)

    Forum Moderator

    You can do that in your style.css, like adding the line-height attribute below to your paragraph style. Be consistent with px or ems, according to the rest of your paragraph and body styles.

    p
    {
    line-height: 1.5em;
    }
    blogmd2

    (@blogmd2)

    Jep,

    I just discovered it. Liine-height was the right term, that’s probably why I couldn’t find it at first…

    Thanks for the info.

    (Btw: I used 150% and it is not giving any issues…)

    Cheers

    Moderator Mark Ratledge

    (@songdogtech)

    Forum Moderator

    Glad it worked. I forgot that some style sheets and designers deal with fonts in terms of percentages….

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