• I use the theme Twenty Eleven and in pages and posts if you type a few words and press enter to type a few more words you want directly under the others it automatically start a new paragraph. Is there a way to stop it from doing that? Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • No, that’s how an editor works. You can manually remove the p tags in the HTML code if you wish, however. Or you could type in the HTML window — where returns don’t matter. But beware of doing that — as you then have to enter all correct html tags manually too. — so unless you know html and know how to validate pages, it’s not very advisable.

    Thread Starter editornen

    (@editornen)

    A word processor is an editor and you can do anything you want. There must be a way in the css to disable it. Anybody?

    It’s not a question of CSS — it has nothing to do with CSS.

    Word processors are not editors in the same way the WP editor is. It’s a completely different animal. The purpose of a WP editor is that it allows you to enter content without knowing or entering HTML tags. So when you press enter/return the editor assumes you want a paragraph — same as in Word. Return makes a paragraph. You cannot disable it.

    Thread Starter editornen

    (@editornen)

    Found several plugins that are designed to override “wpautop” but they do not seem to work.

    Also, this seems to work…

    “Holding the shift key and pressing enter will create a line-break instead of a new paragraph.”

    Still like to kill it in “css” is anybody knows how.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Making Paragraphs Automatically’ is closed to new replies.