Forums

[resolved] Spacing between text (5 posts)

  1. ChandlerWH
    Member
    Posted 2 years ago #

    I apologize, I don't know code well at all. I am learning though, but right now I'm looking for the code that will increase the spacing between lines of text. Right now the text is just too close together. Where could I find that particular section?

    Thanks in advance!

  2. Mark / t31os
    Moderator
    Posted 2 years ago #

    It's going to vary depending on the theme, we can't guess what you're using.

    So either the name of the theme, or preferably a link to your site.

  3. ChandlerWH
    Member
    Posted 2 years ago #

    I'm sorry. I thought I did link my site.

    Marked Change

  4. Mark / t31os
    Moderator
    Posted 2 years ago #

    Open up your theme's style.css

    Find this.
    body{margin: 0; padding: 0 0 100px 0; font: 12px Arial, Helvetica, sans-serif; background: #303237 url(images/bg-test.jpg) repeat-x; text-align: center}

    Update to..
    body{margin: 0; padding: 0 0 100px 0; font: 12px Arial, Helvetica, sans-serif; background: #303237 url(images/bg-test.jpg) repeat-x; text-align: center;line-height:1.2em}

    Adjust 1.2em to your desired line-height, or if you're looking to set line height a bit less globally across the site and just want to target text in posts, then add this into the stylesheet.

    .post p { line-height:1.2em }
    or (if you prefer pixel heights, then..)
    .post p { line-height:15px }

    Again, adjust as required..

  5. ChandlerWH
    Member
    Posted 2 years ago #

    Thank you SO much!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags