WordPress.org

How to add blank lines in a post/page (24 posts)

1. talia
Member
Posted 5 years ago #

the system seems to automatically close up lines between paragraphs but I need to have some larger spaces between some paragraphs to break up the text.

how do i insert a double line space instead of a single line???

2. godsassass1n
Member
Posted 5 years ago #

i would suggest adding some page breaks to get the desired spacing. a simple < br >. that is if your talking about what i think you are.
add as many as needed. hope this helps or maybe not....

3. tiopourtu
Member
Posted 5 years ago #

Hi, I have the same problem too. But when I add
tag. It works as long as I don't edit the post. Because when I edited after I published, the
tag is disappeared.

4. godsassass1n
Member
Posted 5 years ago #

are you editing your post in html or visual? i'm gonna go ahead and say that you are in visual try editing your text in html just like you would in visual except add that tag anywhere you want a space. also there are no spaces in that tag i just wrote it spaced out so it doesn't get recognized as html in my post. let me know how it worked out for you

5. csleh
Member
Posted 5 years ago #

There are plugins to remove wordpress formatting. Or perhaps turning off the wsiwyg editor under users/your profile.

How about using a small heading like an <h4> to separate the different bits? Easy to do and good for viewer scanning.

6. talia
Member
Posted 5 years ago #

hi thanks for the replies
i have already tried < br > several times in both html and visual format

I have also tried < p >< /p > thinking it would insert a para but no luck

[spaces used here but not in formatting]

thanks i have been using the h4 setting but sometimes it's just a matter of wanting extra space between text rather than needing a sub-heading!

compared to blogger the formatting is a pain in the ***
i'm also having trouble with images not floating right left next to text and ended up manually inserting formatting in html

is that a wp 2.5.1 fault or would it be the theme?

7. Sergio Urra
Member
Posted 5 years ago #

have you tried
I'm using it, and it works. I use also a return to make separated paragraphs in the visual mode.

8. talia
Member
Posted 5 years ago #

have i tried what? if you mean the < br > then yes several times. i tried it in html mode before i came to the forum

i have used the return to separate paragraphs but i need a DOUBLE line space
using the return key multiple times still only returns a single line space

unfortunately it's not wysisyg. it will look fine with the (br) or the double return key but as soon as you save it wp performs some voodoo and the darn thing reformats itself

9. talia
Member
Posted 5 years ago #

if i change

p
{
line-height:1.8em;
}

in the css to 2.8em will that achieve what I want and make bigger lines between paragraphs?

10. Sergio Urra
Member
Posted 5 years ago #

Well, to have two blank lines I use this:

< code >< br >< /code >

It works for me.

After the edit it looks OK in the visual mode. When I come back to the HTML editor it loks like:

One line here....
< code >
< /code >
Other line here....

I supose that you can write directly the code tags in two lines.

11. Sergio Urra
Member
Posted 5 years ago #

in the css to 2.8em will that achieve what I want and make bigger lines between paragraphs?

Yest, but the result will be proportional to the separation of the lines, so it's not a good solution.

12. talia
Member
Posted 5 years ago #

ah ok thanks sergiourra didn't realise that was how line spacing worked.

so in addition to putting in the br i also have to use the code?

i will try that now thanks!

13. talia
Member
Posted 5 years ago #

BRILLIANT sergiourra!!!

phew so now i now to use the code before and after and it works fine.

my next challenge is with the images not floating beside the text. is there a code fix for that too?

thanks

14. Sergio Urra
Member
Posted 5 years ago #

Select the image and click the alignment button (left, right or center)

You can edit the margins of the image in the style.css file.

15. vdubplate
Member
Posted 5 years ago #

This is so retarded. I can't enter more than one line of space either and I have tried what sergiourra suggested. I have wasted so much time on this.

16. DIYer
Member
Posted 5 years ago #

Thanks Sergo, I got it to work eventually.
For two blank lines you have to enter :

I wonder why normal
does not work, it is so time consuming to find tags that work from one application vs another!

17. DIYer
Member
Posted 5 years ago #

I dont know why codes did not appear in the post first time, hope it appears now (sigh)

<code><br /></code>
<code><br /></code>
18. arnaudh
Member
Posted 5 years ago #

I wasn't having this problem until I installed Safari 4 beta. I can add blank lines on my Safari 3 machine. But my Safari 4 beta one will refuse to do so.

19. gravityandlevity
Member
Posted 5 years ago #

I tried using sergiourra/DIYer's suggestion, and it left funny gray marks on the blank lines (my theme is Vigilance).

I got around it by cheating with LaTex code: I made a blank space with LaTex that was not interpreted as empty space and deleted. Just put this line on its own where you want there to be a blank space:
$latex \hspace{10mm}$

Of course, 10mm is completely arbitrary. For really big spacings you can also use the \vspace command instead of a bunch of \hspace's.

20. francissimisim
Member
Posted 4 years ago #

Hello everyone try using this code to create a br space between your posts. It works like a charm

<p><br class="spacer_" /></p>

21. Arash
Member
Posted 4 years ago #

<p><code><br /></code></p>

I wished wordpress would finally fix this. I wish I could contribute to fix this.

People have been requesting this since WP 1.5 ;)

22. Arash
Member
Posted 4 years ago #

There is an excellent plugin that allows you to insert <br /> and <p>

23. newcasl
Member
Posted 4 years ago #

Thanks francissimisim, just what I needed.

24. tracelemental
Member
Posted 4 years ago #

THANK U everyone ... fixed my issue as well.

I had installed tinymce but deactivated because of another issue with the visual editor not working. I got that sorted out by going into the database where the value for visual was stuck on false.

Then I had same issue with trying to format my posts.

Yaaah all fixed, and reinstalled tinymce which has built feature for it anyway.

This topic has been closed to new replies.