WordPress.org

Ready to get started?Download WordPress

Forums

Line spacing (13 posts)

  1. rhythmofthecosmos
    Member
    Posted 4 years ago #

    Hi,

    I can't figure out how to get a good line spacing in my text..

    I have tried using shift and return but my results are this

    http://i45.photobucket.com/albums/f56/phi21/Screenshot2010-03-24at232827.png

    Which doesn't match my dashboard http://i45.photobucket.com/albums/f56/phi21/Screenshot2010-03-24at232943.png

    Any ideas on how I can make this spacing better?

  2. esmi
    Forum Moderator
    Posted 4 years ago #

    site url?

  3. Andrei Olsen
    Member
    Posted 4 years ago #

    You can adjust it by changing line-height.

  4. rhythmofthecosmos
    Member
    Posted 4 years ago #

    My site is http://www.princessgowns.co.uk/

    Will that line height apply for every page?

    Thanks

  5. Andrei Olsen
    Member
    Posted 4 years ago #

    It's up to you.

  6. esmi
    Forum Moderator
    Posted 4 years ago #

    That depends. Do you only want to change the spacing on that particular post? Do you want the line spacing increased or decreased?

    Actually, it looks fine to me "as is" when you factor in that you have fairly wide sidebar.

  7. rhythmofthecosmos
    Member
    Posted 4 years ago #

    I want it just for that page..

    Am looking to make it either 1.5 spacing or 2.0 spacing like word depending on how it looks..

  8. esmi
    Forum Moderator
    Posted 4 years ago #

    Try adding:

    .pagecontent #post-11 p {line-height:1.5em;} [Eek! EDIT]

    to the bottom of style.css. Increase the value to 2em if that's not sufficient.

    Remember to press CTRL and F5 simultaneously when viewing the updated page. Or try emptying your browser cache. This should ensure that your web browser fetches a fresh copy of the page rather than serving up an out-dated copy from your own cache.

  9. Andrei Olsen
    Member
    Posted 4 years ago #

    .pagecontent #post-11 p {
      line-height: 1.5em;
    }
  10. rhythmofthecosmos
    Member
    Posted 4 years ago #

    hi,

    Thanks, am just getting an increased font size however, not spacing..

    Thanks though :)

  11. rhythmofthecosmos
    Member
    Posted 4 years ago #

    haha.. posted after edit..

    Thanks :) All working now :)

  12. esmi
    Forum Moderator
    Posted 4 years ago #

    Sorry about that. Brain hiccup!

  13. rhythmofthecosmos
    Member
    Posted 4 years ago #

    No worries.. Many thanks for helping :D

Topic Closed

This topic has been closed to new replies.

About this Topic