• fas.khan

    (@faskhan)


    Hi all,

    I am really stuck and was about to cry infact … This is even happening in the fresh install of the wordpress. When I write some text in the editor and then insert an image in the editor (align it left, etc), it works wonderfully.

    But then, when I give the image a Caption and then “Publish”. The Editor forcibly insert a White space on top of my text. You can see it that before you publish, there is no white space, but as you publish, there is.

    This white space never comes, when I insert a picture without a Caption, but as soon as I put Caption for the picture, (the image surrounds itself against [caption] tag in the HTML) and then put a white space on top of the whole post in the Editor.

    Please help me. Any help me would be highly appreciated!

    How can I get rid of this space 🙁

Viewing 5 replies - 1 through 5 (of 5 total)
  • esmi

    (@esmi)

    Sounds like you need to edit your theme’s CSS. However, without a link to your site, I can’t give you anything more specific.

    Saurus

    (@saurus)

    This is probably an issue of “padding” in the CSS for images. I believe the default padding is something like 20 pixels. Padding is actually the wrong thing for this issue – I would use “margin” for this if it was an issue for me – which it’s not.

    Thread Starter fas.khan

    (@faskhan)

    But it is in the admin. and the space is being shown in the Editor where I write the post. Do you think it is due to the CSS of my theme?

    Many Thanks.

    esmi

    (@esmi)

    Unlikely unless it adds custom admin CSS. Switch to the default theme and see if there’s any difference.

    This is occurring for me as well, WP 2.9.1. Without a caption the image and post appear correctly. Once I add a caption, the following gets inserted above my post:

    <p><br class=”spacer_” /></p>

    A search has revealed that translation plugins can cause this issue, I am not using any of those.

    Any help?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Extra Spaces at Top when Inserting Image in the WP Editor’ is closed to new replies.