Beginner's Guide for WordPress / Start your WordPress Blog in minutes

How to Add a Line Break in WordPress (New Line Spacing)

Do you want to add a line break in WordPress, or adjust the line spacing between blocks?

In most Word processors, you can easily add extra blank line space by pressing the enter key a few times. You can also create double-spaced lines after paragraphs from the formatting options. However, the WordPress block editor doesn’t have those buttons.

In this article, we will show you how to easily add a line break in WordPress.

Adding single or double line spacing in WordPress

Before we start, it’s important to know that line spacing is controlled by the WordPress theme you use.

We will show you how to add space between blocks in the block editor, and then we will cover how to change the line spacing in your theme if you’re not happy with the results.

Video Tutorial

Subscribe to WPBeginner

If you don’t like the video or need more instructions, then continue reading.

Adding Double Line Space Between Blocks

When you press the Enter key for Windows or the Return key for Mac on your keyboard to add a line break, WordPress considers it as a new paragraph.

This means that it will automatically add double line space, granted that your theme has the styling for it (all good WordPress themes do).

Adding double line spacing in WordPress

Simply go to the content editor and press the Enter or Return key after the line and then type something else in the next line.

By simply doing that, based on your theme styling, you should see a clear distinction between paragraphs.

Double line space added to create paragraph in WordPress

Adding Single Line Space

Now, if you are writing something like an address, then you probably want it to be single-spaced instead of double-spaced.

Single Space Preview

In this case, you need to press the SHIFT + ENTER key on Windows or the SHIFT + RETURN key on Mac.

This will tell WordPress that you want to start a new line inside an existing paragraph thus it needs single-line spacing vs double-line spacing.

Modifying the Line height and Spacing

Sometimes even when you add the proper line spacing in the editor, it doesn’t display the way you want it to in your theme.

There are two ways to fix it:

  1. Using a plugin (the easy way)
  2. Manually with CSS code (more advanced)

Let’s take a look at the easy method first.

Adding Line Spacing Using a Plugin

If you want to make style changes to your theme without having to learn code, using a plugin like CSS Hero is the best way to do that.

CSS Hero makes it easy to change the design of your WordPress site without knowing any code.

Add paragraph spacing in WordPress with CSS Hero

You can see more details in our full CSS Hero review.

If you want to make bigger changes to your theme, like moving a sidebar or adding a footer, then a drag and drop page builder plugin would be a better option. A page builder plugin would also let you make small tweaks like changing font colors or adding line breaks in WordPress.

Don’t want to use a plugin, or just need to make this one change? Then the manual CSS code option might be best for you.

Changing Paragraph Spacing Manually With CSS Code

To add line breaks manually without a plugin, you need to add some CSS to your theme.

CSS is basically like the formatting feature in Microsoft Word. Instead of clicking buttons, you will be writing some plain CSS code. It is not as scary as some beginners may think. CSS is very easy to understand if you are just following instructions.

To add custom CSS to your theme, you need to visit the Appearance » Customize page. This will launch the WordPress theme customizer where you need to click on the ‘Additional CSS’ tab from the left column.

Adding your custom CSS

In the custom CSS box you need to add the following CSS code:

.post p{line-height: 1.5em;}
Adding custom CSS to increase line height

The CSS rule shown above will change the line spacing of paragraph content to 1.5em. Em is a unit of width for typography. We are using .post class which WordPress automatically adds to the content area of all posts to make sure it only affects posts and not paragraphs used elsewhere.

Now, this only changes the spacing of single spacing. If you want to change the paragraph spacing in WordPress (i.e double spacing), then you would need to add padding.

.post p { 
line-height: 1.5em;
padding-bottom: 15px;

Feel free to adjust the numbers to meet your needs.

We hope this article helped you add a line break in WordPress. You may also want to see our guide on how to start a WordPress blog and the best email marketing services for small businesses.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us.

The Ultimate WordPress Toolkit

Get FREE access to our toolkit – a collection of WordPress related products and resources that every professional should have!

Reader Interactions

98 CommentsLeave a Reply

  1. I don’t have Additional CSS. I’ve tried all sorts of other ways to alter the paragraph spacing but nothing works, looks a real mess. Help please!!!

  2. Thank you for the help. I have been looking all over the place, and wanted to do it with a plug-in. You made it so easy. Again, thank you very much.

  3. Hello! I want to have a simple spacing between my paragraphs and even after pressing enter (for the double space), when I preview the draft nothing has changed (it’s still all one paragraph). Could anyone help?

  4. Hi
    I would like to modifying the Line height and Spacing. However there is no ‘editor’ icon ( Appearance » Editor) from theme’s CSS file.
    So, what can I do?
    Thank you for your reply!

  5. Thank you, thank you, thank you!

    I was in another html editor and could not figure out how to do single spacing.

    You saved the day! :)

  6. Brilliant and what an eternal lifesaver.

    I was struggling with spacing on one of my client sites and absolutely amazing that you had the exact answer almost at your finger tips. I am now becoming a permanent subscriber

  7. I am using the Pilcrow theme and I have no idea how to make the double space between paragraphs happen. Sometimes it happens in my posts but sometimes it doesn’t. When I look in the HTML file I don’t see any post p or padding. I only see the end result of what the post will look like and thats when I know the double spacing didnt work. Can I still go back and re-edit and fix it? Last but not least where you say to go from the appearance to editor menus i dont have those options.
    I have under appearance the following options: themes, customize, widgets, menus, header, background, AMP, Theme Options, Mobile.
    Please help.

    • Hey LR,

      You can add the CSS by visting Appearance->Customize and then clicking on the Additional CSS tab in customizer. See our guide on how to add custom CSS in WordPress.

      If you believe it to be a theme issue, then try temporarily switching to a default WordPress theme. If the issue disappears, then you can ask your theme developer for support.


  8. My theme is broken, as in it doesn’t have the double spacing by default. The theme is stuck on the shift+enter mode in other words. So in relation to the following code:

    .post p {
    line-height: 1.5em;
    padding-bottom: 15px;

    Is 15px a normal default double space? How many pixels should it be by default? Also doesn’t it matter where I put this code? Thanx!

  9. Thank you for the tip on the shift + enter. I never knew this for years. Your site has always been a rescue when I get stuck.

  10. Hello: How do you get custom line spacing (say, 1.5em) for one instance on one page instead of changing the entire theme CSS? I see two other people have asked the same thing with no response, at least not that I found. Thanks!

  11. Shift+Enter to avoid huge gap between lines in wysywig tinye mce editor in wordpress. Works !!!! Awesome!

  12. How about simply adding some text and changing the text colour to white (if the background is white)? This should make it possible to create and customise line spaces much easier (unless, of course, the background is a picture of something that cannot be matched with font colour).

  13. Hi WPBeginner staff,

    I have a different question. I use Visual Composer and have added many Separator with Text dividers between my section headings on my homepage. I would like to make those text headings also be a link to that section.
    However everytime I add the link I lose the section identifying text that I had in the separator and it’s magically replaced with the default text saying “TITLE”.

    To try to make it a link I am adding a the linking code inside this bracket:
    [vc_text_separator title=”1950s CARS”]

    I am scratching my head so hard that I think I’m bald. Any help will get you a lifetime of gratitude!!!


  14. I am using the WordPress ‘Divi’ theme and found that if you press enter (or shift + enter) twice, in order to create a larger space, it is ignored. To get round this press enter once, type a character on the line, (it does not matter what), highlight it and change the font colour of the character to white and then press enter again; this results in the desired space between lines without having to edit the theme. The same applies to extra spaces in a line; enter as many characters as desired, highlight them and change their font colour to white and then carry on in the desired font colour.

  15. THANK YOU!! I Love you guys! So glad I found this site! I’ve almost literally been banging my head against the wall. If I knew how to insert emojis, this post would be covered with hearts and smiley faces. :-)

    • P.S. ~ HA! I did NOT know that my little colon and parentheses would actually turn into a smiley. LOL

  16. Oh yeah! You have just helped me solve a problem (forced single space paragraphs) that has vexed me for years!

  17. I am a subscriber to WP Beginner.
    I had a question concerning entering Engineering data for my product on my site. Spacing in the tables appeared too large on the page. I searched WordPress support and all I saw was snippy responses to the question of single line spacing.

    Your the first to answer the question, and it obviously was correct. Thank You.



  18. What about on Android. The latest update has forced a double spacing (new paragraph). Not very good for poetry writers. Is there any way to revert it back to single?

  19. I use Omega Theme and the control/enter does not work. Is there something else I can do. I cannot find post.p in the CSS file.

  20. Thanks for the “shift” and enter for single line spacing as I’ve wanted to figure this out for years … and never got around to finding the solution.

  21. I’m searching everywhere for an answer … when I add a in the text editor, it is removed in the visual editor. Drives me crazy. Does wpbeginner have a recommendation?

    Should I add a plug-in to stop this?

    I tried a plugin years ago, but I had to go back and re-format every post.

    Any link with tutorial or advice is greatly appreciated!

  22. Thank you for such wonderful articles
    I was completely lost when I started wordpress but now I have a pretty basic idea
    Thank u :)

  23. Thanks! This helped me tighten up my posts—except for the first paragraph in each post. For some reason, the lines appear to be double-spaced. Is there a snippet of code that I could add to Edit CSS that would allow me to tighten them?

  24. Thanks! Adding the snippet (.post p{line-height: 1.5em;}) to my Edit CSS made my text so much easier to read. Now, here’s my problem: the opening paragraph in each WordPress post has much larger line spacing than the rest of the paragraphs—and it is NOT affected by this piece of line-height code. Is there another snippet of code that I could add to Edit CSS that would tighten up those opening lines?

  25. Thank you so much. Your site is remarkable. It has helped me so much. Subscribed!! Please keep up the great work!!

  26. Thanks for the tutorial. Although, how can I adjust single paragraph line spacing? I have a 3 word title, centered and stacked in 3 lines. All of the lines have different font size, so the line spacings are inconsistent. I’ve been looking for a way to easily adjust through a text editor tool or plugin.

    Any ideas?

  27. “If you do not find the .post p tag, then simply create one.”
    Where? should i just copy/paste it anywhere in the css file?

  28. I’m not even a true “beginner” but there are gaps in my knowledge and you have just solved one of the most frustrating things about WP for this writer and Word user… Thank you for this and for all your fantastic info… I continue to learn great things from your posts and your site. Thanks and cheers to you!

Leave A Reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.