Support » Fixing WordPress » New ‘captions’ goofs up paragraph spacing

  • Resolved jrothra

    (@jrothra)


    I updated to the latest WP (2.6.2) and, while I like the caption/box around images, it goofs up the spacing between the lines of the paragraph in which/just below the image. You can see what I mean here: http://www.jrothraministries.com/2008/09/30/just-because-it-says-it-does-not-mean-do-it/

    I have no idea why. When I write a post, I use the HTML view. I tried putting a line break (hitting enter once) between the image code and the text and all it did was move the text down one line, but the spacing problem remained.

    Any thoughts?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Any thoughts or am I the only one experiencing this?

    Found the solution! You must enter twice (create a paragraph break) before and after the caption coding. Note — I write my posts using the HTML view, not the “Visual” view.

    I’d type a paragraph, hit enter twice, insert the image, hit enter twice, then type the rest.

    Here’s an example of how it will look in the HTML version:

    Paragraph content, blah blah blah, whatever you want to say. It doesn’t matter, just some random stuff. More blah blah blahs and such. Paragraph content, blah blah blah, whatever you want to say. It doesn’t matter, just some random stuff. More blah blah blahs and such. Paragraph content, blah blah blah, whatever you want to say. It doesn’t matter, just some random stuff. More blah blah blahs.

    [caption id="attachment_124" align="alignright" width="350" caption="Caption content"]<img class=”size-full wp-image-124″ title=”title goes here” src=”http://www.image-source-url.com/image.jpg” alt=”Alternate information” width=”350″ height=”233″ />[/caption]

    Paragraph content, blah blah blah, whatever you want to say. It doesn’t matter, just some random stuff. More blah blah blahs and such. Paragraph content, blah blah blah, whatever you want to say. It doesn’t matter, just some random stuff. More blah blah blahs and such. Paragraph content, blah blah blah, whatever you want to say. It doesn’t matter, just some random stuff. More blah blah blahs.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘New ‘captions’ goofs up paragraph spacing’ is closed to new replies.