• Resolved enyx

    (@enyx)


    When leaving a comment on my blog, if you hit Enter twice to leave a space between paragraphs, it will only recognize the first; it will drop the text to the next line, but it won’t give you the one-line space between the paragraphs.

    https://starnaglethron.com/2008/08/technique/#comment-26

    In this comment I left, there should be an extra space before “Now that I think about it…” and one before “Thanks for the tip!”

    Is there a way to fix this?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter enyx

    (@enyx)

    Anyone know?

    I tried looking through the comments.php file, but I couldn’t make heads nor tails of it.

    Thread Starter enyx

    (@enyx)

    Inserting <BR /><BR /> between the lines doesn’t even work; it ignores those as well.

    Thread Starter enyx

    (@enyx)

    *bump*

    Thread Starter enyx

    (@enyx)

    *bump*

    All styling in wordpress is driven by css. You can hit enter as many times as you like and wordpress will ignore it. If you want to change the spacing between paragraphs, modify your style.css file to create the space you want.

    Thread Starter enyx

    (@enyx)

    Thanks, I just realized this a few minutes ago.

    Originally, in the style.css file, there was this line:
    .comment-text {}

    I changed this to:
    .comment-text p {margin-top: 10px;}
    and now I get the “white” space between paragraphs.

    Thanks for the tip.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Comments eat extra line breaks’ is closed to new replies.