Cannot add spacing between text in posts
-
Hi, I need help with adding spaces between paragraph texts in blogposts. I’m not sure if it’s because my theme doesn’t support it. Is there a way to fix this with a code while keeping the same theme layout? I’m using the theme Resonar.
Also, the spaces don’t appear between blogpost paragraphs on the home page as well.
Need help asap. Thank you.
The blog I need help with is: (visible only to logged in users)
-
Hey qdeesworldwide,
The WordPress editor will remove extra spacing, as it’s often not intended by the writer :)
An easy workaround is to switch over to the HTML editor view and add between your paragraphs.
Your text would look something this:
First paragraph Second paragraphHope this helps!
-
Sorry qdeesworldwide, some of the text from my answer got removed! :)
The HTML code you’re looking at add between your paragraphs is
& n b s p ;
If you remove all the spaces from the text above, it will work!
The HTML entity is called the non-breaking space, and it works because WordPress treats it like any other paragraph and wraps paragraph tags around it :)
More information can be found here: http://yesterdayishere.com/now/what-nbsp-means-and-does/
-
Thank you very much!
One more question, how do I add different backgrounds onto different blogposts or pages? Meaning I would like each individual blog post to have its own background design
-
Hi,
I do not think that’s possible. Adding different backgrounds to pages and posts requires you to customize the template files. WordPress.com does not allow you to access the PHP files.
In order to have that degree of control, you would need to create a self-hosted WordPress site. The following support document explains the difference: https://en.support.wordpress.com/com-vs-org/
Hope this answers your question.
-
-
- The topic ‘Cannot add spacing between text in posts’ is closed to new replies.