Home › Forums › Automattic › Elemin › Line spacing
-
AuthorPosts
-
dulaurentMemberHello, could someone tell me how to force a line break? I want empty lines between paragraphs or after pictures etc., and it keeps ignoring my hard returns.
The blog I need help with is laurentdunienville.com
ThanksJuly 25, 2013 at 3:10 am #137298
MichelleHi dulaurent,
To add line breaks instead of paragraph breaks, use Shift+Enter in the Visual Editor, or use the
tag between lines in the HTML editor. Let me know if I can provide further assistance!July 25, 2013 at 3:52 am #137303
dulaurentMemberThank you. I meant paragraph breaks, but more than one. It doesn’t register.
July 25, 2013 at 6:42 pm #137344
MichelleIf I understand correctly, you want to have extra space after paragraphs? By default, the Visual Editor strips empty paragraph tags. There are a few things we can try to work around this.
1. In the “Text” editing mode, you can insert an empty div tag with a height between the paragraphs where you want extra space. For example, try dropping this inside your post and see what it does (again, make sure you click the “Text” tab in the post editor first):
<div style="height: 15px;"></div>
Adjusting the height depending on how much space you want. This method is a bit messy, but it does the job.
2. You can increase the bottom margin of your paragraphs. For example, something like this will add extra space at the bottom of that paragraph. You’ll need to be in the “Text” Editor for this to work:
<p style="margin-bottom: 20px;">Your text here</p>
3. You can follow the methods listed here on formatting poetry: http://en.support.wordpress.com/writing-and-formatting-poetry/ . This might not apply to you, but there are some tips that you might find helpful.
I hope this helps, let me know if I can clarify anything or provide further assistance.
July 27, 2013 at 2:12 am #137403
dulaurentMemberThank you. That worked a treat. :)
July 29, 2013 at 11:48 pm #137460
MichelleYou’re very welcome! I will close this topic out, but feel free to start a new one if you have any other questions.
-
AuthorPosts
The topic ‘Line spacing’ is closed to new replies.