• I have tried to do a search for this topic and understand that in theory, wordpress does not display multiple hard returns as multiple paragraph breaks. The thing I am finding very frustrating is that SOMETIMES you can put in a return and get a space, and other times not. Last night I was editing a page using the visual editor and when I put in a hard return as the very first entry on the page, it resulted in the content of the page having a little extra space at the top, which i liked. That is, I was able to put a hard return in the visual editor and wind up with a bit of blank space between the bottom of my header and the top of my content. Tonight, I am trying to do the same thing and it won’t work. I have noticed this inconsistency on multiple sites that I have. I have looked at the HTML editor and see no difference. I have tried deleting the page and starting over. But still, the inconsistency persists. Does anyone know why? I’d love an explanation.

Viewing 4 replies - 1 through 4 (of 4 total)
  • I’ve had the same problem, when trying to get text next to the picture that I want.

    the only solution I found, is to do this
    .
    .
    .
    .
    but that’s far from satisfactory!

    Could be difference in the various theme templates and the styling that is being applied to them. Adding ‘.’ isn’t really the best solution. Fixing the theme’s CSS and/or templates would be far better.

    A characteristic of a poorly designed theme is having no space (css padding or margin) between paragraphs, and since WordPress correctly strips empty paragraph tags, this can leave text looking really crowded. Modify your theme or try a new theme if possible.

    Loudly seconded! I do wish theme developers would stop using:

    * {
    margin:0;
    padding:0;
    }

    as a lazy-man’s CSS reset unless they intend to immediately apply decent top and bottom margins to basic formatting tags like p.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Why does hard return work sometimes and sometimes not?’ is closed to new replies.