Support » Themes and Templates » Paragraph breaks in comments?

  • I’m using the Gentle Calm theme, and when I or others enter comments, there seems to be an issue with recognizing two line breaks in a row. Each paragraph runs into the one before it, and it ends up looking like a big mush of text instead of nice, easy to read, paragraphs. This is not a problem within the post content.

    It’s particularly noticeable on this comments to this post:

    http://www.withinwithout.org/2005/04/13/and-its-you-when-i-dont-pick-up-the-phone/

    Do I need to add something to my theme? I’ve made some modifications, but nothing with the comments box or comment template.

    Thanks for any help anyone has. (I’m really new at this). 🙂

Viewing 9 replies - 1 through 9 (of 9 total)
  • Try removing or changing the properties under the #comment li p declaration in your theme’s style.css, and perhaps increasing line-height under .commenttext.

    Your CSS doesn’t contain a definition for how to treat comment paragraphs. You have


    .entrybody p { margin-top:0.8em; margin-bottom:1.6em; }

    and

    .commenttext { clear: both; padding-top: 0px; margin-top: 0px; margin-bottom: 3em; border-top: 1px solid #ebebeb; line-height:1.2em; color: #5b5b5b; }

    but no .commenttext p {. Try this:

    .commenttext p { margin-top:0.8em; margin-bottom:1.6em; }

    Do you mean this section?

    .commenttext {
    clear: both;
    padding-top: 0px;
    margin-top: 0px;
    margin-bottom: 3em;
    border-top: 1px solid #ebebeb;
    line-height:1.2em;
    color: #5b5b5b;

    Okay, trying that now.

    Thanks OpenDNA.

    Okay, I don’t see a change in exsisting comments with that alteration, but I’ll try posting a new one and see if it works…?

    Okay. Nope.

    No change.

    Okay, I think I got it.

    I changed:

    }
    #commentlist li p{
    padding: 0px;
    margin: 0px;
    }

    to:

    }
    #commentlist li p{
    padding: 5px;
    margin: 0px;
    }

    And it looks great now.

    Thanks, so much. 🙂

    THANK YOU! I’ve been searching everwhere for the answer to my problem and look here, someone already did.

    This place is amazing!

    vkaryl

    (@vkaryl)

    Have to agree, Jo5329 – I went looking just now, problem with a client’s blog, and guess what? Here it was….

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Paragraph breaks in comments?’ is closed to new replies.