• I am would like

    a) less spacing between the lines in a paragraph and
    b) 1.5 space not 2 between paragraphs.

    Can any help me with this, please. I am OK with simple coding and so on.
    I have tried something like this below (don’t recall exact code) in the editor a few days ago, and it did not work ??
    }
    p. line 1.5em
    }
    Can any help me with this issue, Please
    Thank you Albert

Viewing 2 replies - 1 through 2 (of 2 total)
  • To decreases space between lines you would use line-height property, i.e.

    p{
       line-height: .8em; /* decreases space to 80%. default is 100% or 1em */
    }

    To add a spacing of 1.5 you can try this:

    p{
       margin-bottom: 1.5em;
    }

    You can combine the above two rules into one:

    p{
       margin-bottom: 1.5em;
       line-height: .8em;
    }

    Hope this helps!

    Thread Starter adudley

    (@adudley)

    Hi thank you.
    Do I have to put this code any a specific section.
    I tried in the second section in the editor (Appearance > Editor) and it does not seem to make any changes. I also tried with a new page.
    Do I have do something more that just “upload File” once I insert the code?
    I am using Twenty ten Theme.

    Note: The default for between paragraphs is double and I want this reduce this to 1.5. while also decreasing in between line within a paragraph.

    I appreciate your support

    Cheers – Albert

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