How can I save spacing edits to my blog?
-
Recently, my edits to spacing don’t save. They appear in my edit screen, but not on my blog page.
The blog I need help with is: (visible only to logged in users)
-
Hi there. Can you be a bit more specific than “edits to spacing”?
The editor by default removes any extra spaces between words and between paragraphs. It has always worked this way.
To have extra spaces between paragraphs you have to add the html code for a non-breaking space via the text editor.
To control spacing within lines of text you have to use the pre-tag.
See here for more information: https://en.support.wordpress.com/advanced-html/
-
Thanks for helping.
I have always been able to add spaces between paragraphs. On my most recent post, the entire piece has no spacing between paragraphs, though when I go to the edit screen, the spaces exist (just as I want them to). -
I copied the source code from your latest post into my test blog and published it, and I see what you mean. In the text editor there are lines of code to indicate where the line breaks should be, and the visual editor shows them, but they don’t render in the published post. However, if I replace those lines with the code for a non-breaking space, the line break appears.
To illustrate, here’s your code as seen in the text editor, which shows a space in the visual editor, but not on the blog:
<div style="color:rgba(0,0,0,0.701961);font-family:UICTFontTextStyleBody;line-height:normal;text-decoration:-webkit-letterpress;">never knowing it really was.</div> <div style="color:rgba(0,0,0,0.701961);font-family:UICTFontTextStyleBody;line-height:normal;text-decoration:-webkit-letterpress;"></div> <div style="color:rgba(0,0,0,0.701961);font-family:UICTFontTextStyleBody;line-height:normal;text-decoration:-webkit-letterpress;"></div> <div style="color:rgba(0,0,0,0.701961);font-family:UICTFontTextStyleBody;line-height:normal;text-decoration:-webkit-letterpress;">Hey Dad,</div>And here the middle two div-tag lines are replaced with a non-breaking space, which then also shows a paragraph break on the blog:
<div style="color:rgba(0,0,0,0.701961);font-family:UICTFontTextStyleBody;line-height:normal;text-decoration:-webkit-letterpress;">never knowing it really was.</div> <div style="color:rgba(0,0,0,0.701961);font-family:UICTFontTextStyleBody;line-height:normal;text-decoration:-webkit-letterpress;">Hey Dad,</div>Try that in all the places there should be a paragraph break.
It might have something to do with the fact that you’re changing the font there – I scrolled down your home page and I notice every time you use this font the paragraph spacing disappears. I’m tagging this for staff so they can confirm whether this is the issue. Please be patient while waiting for their reply.
-
It seems in the second code-snippet I pasted the code for a non-breaking space was rendered rather than displayed. The code you replace the two lines with is nbsp, with a & in front and a ; in back, as explained in the support doc I linked above.
@staff
I’ve noticed before that the non-breaking space html won’t display in the forums, even if typed inside code tags. It makes it rather difficult if one needs to explain to someone how to use it. I’d appreciate if you can look into that as well. -
The inline styles that change the font do seem to be the ‘culprit’ in the case of your most recent post.
I’d recommend editing that post in the Text/HTML editor, then adding the line break tag…
<br>
… wherever you need spaces added. It doesn’t look like you’re having these spacing issues on posts without the font changes.testing out the non-breaking space entity on the next line…
-
-
-
-
@alexjgustafson
Something interesting: the nbsp entity you tested displays in the notification email, as does the second set you tested.The last one you tested doesn’t display in the email either, whatever it was.
- The topic ‘How can I save spacing edits to my blog?’ is closed to new replies.