Need a new web host or having a problem with a script? Tips and advice on the best way to design, build and maintain your most valuable asset - your website!

Blank line problem in Wordpress

easyrider
Posts: 248
Joined: 25 Jul 10
Trust:

Blank line problem in Wordpress

For some unknown reason my Wordpress site using Affilotheme has just started to prevent me from having an extra blank line between paragraphs and before headings etc.

When I try to add an extra blank line in by using the nonbreaking space ( ) after a paragraph and then putting a blank line after this, it removes both the blank lines when I save it or preview it. This just does not make any sense as I haven't changed any settings.

Also, I have had a look back at the previous work I have done (where this worked fine). It is okay in its published form on the web, but when I preview the existing HTML code, the problem occurs on these pages as well. This means that if I save these pages again, they will get corrupted.

Please help me - what has happened and how can I fix it?
  • 1
Greg
 
cecille.l
Posts: 6369
Joined: 25 Feb 11
Trust:
Hi Greg,

Would it be possible to give us temporary access to your WP admin area to check what's causing the error? If so, please send us your site URL and the temporary login details.

You may create a temporary administrator user in the 'Users' menu of your WordPress site. From your dashboard, go to users on the left hand side. From there you can add a new user, and set the status to admin. then once the staff is done, you can delete the user or change the password.

You can PM the message to me or send it to me through the Contact Form in our support page.
  • 1
Cecille

Building affiliate marketing websites is a breeze: https://www.affilorama.com/affilojetpack
Like us on Facebook: https://www.facebook.com/affilorama
 
Site Admin
michellerana
Posts: 1874
Joined: 05 May 09
Trust:
easyrider wrote:For some unknown reason my Wordpress site using Affilotheme has just started to prevent me from having an extra blank line between paragraphs and before headings etc.

When I try to add an extra blank line in by using the nonbreaking space ( ) after a paragraph and then putting a blank line after this, it removes both the blank lines when I save it or preview it. This just does not make any sense as I haven't changed any settings.




To have more formatting options on your wordpress site, you can install the tinyMCE Advanced plugin.

To install the tinyMCE Advanced plugin, please log in to your WordPress admin area, click on "plugins" and then click on "add new".

Type "tinyMCE Advanced plugin" in the search field and click search plugins. Then click "install now" for the tinyMCE Advanced plugin, click ok on the pop up message box, and then wait for it to be installed. When it's done installing, click "Activate Plugin".

You will first have to configure the tinyMCE plugin to get the additional formatting options. To do that, go to Settings > TinyMCE Advanced and select the formatting buttons that you would like to have in addition to the buttons already available. After you have made your selections, click Save Changes.

You also need to make sure that you are in Visual mode when adding or editing a post instead of HTML mode so that you will be able to see the formatting buttons.
  • 1
Michelle
Customer Support
=========================

Limited time special - Pathway to Passive for $37: http://www.affilorama.com/pathwaytopassive
 
esolutions
Posts: 475
Joined: 28 Apr 09
Trust:
Hi,

&nbsp is not used to create a blank line.

<br/> is what you're looking for. Creates one line break for each time used.
  • 1
List not growing fast enough?
Get More Opt Ins:
http://mattgreener.com/view/arfree
 
easyrider
Posts: 248
Joined: 25 Jul 10
Trust:
I have already got the TinyMCE plugin. When I select the following advanced option my formatting is not changed when I go to the HTML view and then come back to the Visual one:

Stop removing the <p> and <br /> tags when saving and show them in the HTML editor This will make it possible to use more advanced coding in the HTML editor without the back-end filtering affecting it much. However it may behave unexpectedly in rare cases, so test it thoroughly before enabling it permanently. Also line breaks in the HTML editor would still affect the output, in particular do not use empty lines, line breaks inside HTML tags or multiple <br /> tags.

However, it becomes hard to actually see where anything is in the HTML view since it is now just one great block of text.

The fact is that everything was working fine until a couple of days ago and then something changed. But I don't know what happened.

I was using the non-breaking space after a paragraph break to create the appearance of a second blank line between the paragraph and a following heading (it does not look very good if there is only one blank line). When I first started with Wordpress, I tried to just hit enter a couple of times to create to blank lines, however it always automatically was reduced to one when I updated the post.

I found that adding the non-breaking space after a paragraph created the extra space that I wanted (even if this is not the purpose of the non-breaking space).

Unfortunately now Wordpress automatically removes both the extra space and the original blank line when I either go to the HTML view, update the post, or preview the post.
  • 1
Greg
 
cecille.l
Posts: 6369
Joined: 25 Feb 11
Trust:
Hi Greg,

I received the PM you sent but I am unable to access your site. Please give the login you gave me admin access.

Hope to hear from you soon.
  • 1
Cecille

Building affiliate marketing websites is a breeze: https://www.affilorama.com/affilojetpack
Like us on Facebook: https://www.facebook.com/affilorama
 
easyrider
Posts: 248
Joined: 25 Jul 10
Trust:
As an update, I have removed my new web browser IE9 and gone back to IE8 and everything now works fine. I am not sure why this would be the case, but I am grateful it works.
  • 1
Greg
 
cecille.l
Posts: 6369
Joined: 25 Feb 11
Trust:
Hi Greg,

I don't have an answer on why this would be the case but from what I have experienced, some websites just don't render well in IE. I used to have issues with how my Edit Page appears on IE. I kept missing buttons so I decided to use Firefox moving forward. I sometimes use Chrome too.

I'm glad to hear you're issue has been resolved though. :)

Have a good day!
  • 1
Cecille

Building affiliate marketing websites is a breeze: https://www.affilorama.com/affilojetpack
Like us on Facebook: https://www.facebook.com/affilorama
 

This topic was started on Feb 17, 2012 and has been closed due to inactivity. If you want to discuss this topic further, please create a new forum topic.