Support » Fixing WordPress » Double Line Spacing

  • I am updating my site (www.cycleseen.com) so that the posts have double line spacing throughout. I have got this working on the front page by putting the following — line-height: 2.0em; — into the stylesheet on the wide and narrow column options. For some reason though when I click more (or on the header) to go to the entire post the line spacing is still single.

    Could someone please inform me how to space it out in all sections (including in the pages too).

    Thanks alot.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    You don’t need that line-height in all those places. Just add this any place in there:

    .widecolumn p, .narrowcolumn p {
    	line-height: 2.0em;
    	}

    That will cover all of it.

    Thread Starter prb11

    (@prb11)

    Unfortunately I cannot find that line. It might be my version (I am currently looking into upgrading to the latest version, but in the mean time…) but this is the king of code I have on the Style sheet and what I have it set to, yet when I click more on a post it still has it single spaced:

    #content {
    font-size: 1.2em
    }

    .widecolumn .entry p {
    font-size: 1.2em;
    line-height: 2.0em;
    }

    .narrowcolumn .entry, .widecolumn .entry {
    line-height: 2.0em;
    }

    .widecolumn {
    line-height: 2.0em;
    }

    .narrowcolumn .postmetadata {
    text-align: left;
    line-height: 2.0em;
    }

    Thanks

    You could probably just do:

    #content p {line-height: 2em;}

    Then every paragraph in the content div would have double line-height.

    If you post a link to the page we can look at the code. Perhaps there is another css rule taking precedence.

    Thread Starter prb11

    (@prb11)

    Cheers, I am in the middle of upgrading to the latest version so assuming that all goes ok, I will try your advice and see how it goes.

    The site is, http://www.cycleseen.com but may be down at the minutes.

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    Unfortunately I cannot find that line.

    No, you’re not supposed to find that line. I said to ADD that code to your CSS file. As in, the whole thing that I posted. Create a new section. Get it?

    hi otto42, maybe you can help me as well:
    http://wordpress.org/support/topic/187464?replies=1#post-798641
    thanks in advance.

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