November 26, 2013 at 2:55 pm #3013
I hope you’re doing well.
We’d like to ask you for a wee help: we’ve got a slight issue in that sometimes when we publish content (blogs or wordy pages), individual spaces between paragraphs seem to randomly disappear. When we try to fix this problem with a <BR>, <p>, or  , that piece of code sometimes disappears after hitting ‘publish’. Even worse, when we manage to fix it in one place, it happens somewhere else on the same page.
The website URL is http://www.redspire.co.uk (currently all pages are fixed but we want to prevent this in the future).
Would you happen to know what’s wrong?
Thanks very much,
Redspire & LubicaNovember 28, 2013 at 10:27 am #3044
We have already posted a solution for this in another thread. Please take a look
Thanks!November 28, 2013 at 2:15 pm #3058
Thank you very much for your answer. Just to make sure, I seem to have the exact opposite problem: my spaces are disappearing as opposed to randomly appearing. Should I still copy & paste this wee code into my CSS?
LubicaNovember 29, 2013 at 12:29 pm #3069RaghavendraModerator
If they are disappearing, it is probably because you are inserting empty tags like <p></p> to insert spaces. The theme filters out these as unwanted p tags generated by WordPress (well known issue with WP shortcodes). Pls use margins and paddings in CSS to create spaces. The theme does not filter out <br> or blank spaces tags since they have valid use. Will need a temp login to your site with the page where this is happening so that I can debug this. ThanksDecember 2, 2013 at 9:59 am #3116This reply has been marked as private.December 4, 2013 at 6:12 am #3180
Checked your site and looks like things are normal. Yes, WP does strip out what it perceives as unwanted line breaks and rearranges the paragraphs, divs etc. That’s the job of parser which renders your posts/pages –
I created a draft post on your site (pls check the post Test LiveMesh – delete when done) and some of my sites too and saw the exact same behavior in your site as well as mine. So nothing to worry here. We just have to live around it since this is native WordPress behavior.December 4, 2013 at 4:29 pm #3196This reply has been marked as private.December 4, 2013 at 4:38 pm #3198
Thanks Lubica. Merry Christmas and a Happy new year to you and your team. Cheers!
- The topic ‘Spaces disappearing’ is closed to new replies.