How to make a line break instead of a paragraph in wordpress
I was just asked this question about making a line break (or new line) in WordPress and thought I’d write an article on it in case it helps someone else.
We want to start a new line in our content without it adding a gap/space between the new line and the previous one. Is this possible?
The first result I got when searching for an article on single line breaks versus paragraphs was a six year old WordPress.org forum post with a five year old reply decrying the lack of help available. A little more searching revealed that there are in fact a couple worthwhile how-to articles written this year. Nonetheless I’m going to use this as an opportunity to continue warming up an idea that I put into action on the Charis Blueweb facebook page earlier this week (which is to post quick answers to questions).
If you hit ENTER after typing some text in the Visual editor in WordPress, you’ll create a new paragraph. Let me illustrate this.
If you type some text then then hit ENTER…
You get a second paragraph like this.
The person who asked the question was seeing this normal behavior. WordPress assumes you’re writing out paragraphs which is almost always what you want.
What they really want is get rid of that space between the lines. I can imagine this being useful for writing an address on multiple lines. There are surely many other applications. This is an example of what I mean.
Hold SHIFT when hitting ENTER for the second line to be like this…
See how this second line is directly beneath the first?
Did you catch that? You need to hold the SHIFT key while pressing ENTER to create a single line break instead of a new paragraph.
I whipped up a screenshot while playing with this to give you an actual example inside of WordPress.
So there you have it, folks — how to create a single line break instead of a paragraph in WordPress.
7 Compelling Reasons to Create a WordPress Website
March 23, 2018
Why a Career as Web Developers is Beneficial
January 19, 2019
Top 10 Benefits of Having a Website
February 21, 2018