WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Line spacing (4 posts)

  1. blogmd2
    Member
    Posted 4 years ago #

    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...

  2. 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;
    }
  3. blogmd2
    Member
    Posted 4 years ago #

    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

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

Topic Closed

This topic has been closed to new replies.

About this Topic