Spaces disappearing

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #3013
    Lubicalubica
    Member

    Dear Livemesh,

    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 &nbsp, 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 & Lubica

    #3044
    NexusNexus
    Moderator

    Hi lubica,

    We have already posted a solution for this in another thread. Please take a look

    https://www.livemeshthemes.com/support/forums/topic/need-help-with-formatting-posts/

    Thanks!

    #3058
    Lubicalubica
    Member

    Hi Nexus,

    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?

    Many thanks!

    Lubica

    #3069
    RaghavendraRaghavendra
    Moderator

    Lubica,

    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. Thanks

    #3116
    Lubicalubica
    Member
    This reply has been marked as private.
    #3180
    NexusNexus
    Moderator

    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 –

    http://codex.wordpress.org/Function_Reference/wpautop

    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.

    #3196
    Lubicalubica
    Member
    This reply has been marked as private.
    #3198
    NexusNexus
    Moderator

    Thanks Lubica. Merry Christmas and a Happy new year to you and your team. Cheers!

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Spaces disappearing’ is closed to new replies.