WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] New 'captions' goofs up paragraph spacing (3 posts)

  1. jrothra
    Member
    Posted 6 years ago #

    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?

  2. jrothra
    Member
    Posted 6 years ago #

    Any thoughts or am I the only one experiencing this?

  3. jrothra
    Member
    Posted 6 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.