WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Adding a photo caption makes my pics go on separate lines

[Resolved] Adding a photo caption makes my pics go on separate lines

Viewing 6 replies - 1 through 6 (of 6 total)
  • WPyogi

    @wpyogi

    Forum Moderator

    It looks like the problem is that the <div> that contains the image and the caption is not floated to the left:

    <div id="attachment_258" class="wp-caption alignnone" style="width: 157px">

    See the alignnone in the above code – it would need to say “alignleft”. If there is a way to change that in your theme, that should fix it. If not, since you are using a commercial theme, you’ll need to ask the developer for help with this kind of issue/modification.

    Thank you. I thought that align none was what I needed, but apparently not. It works now with the images on one line, although they are not centered in the margin, but I think I can live with that if I must… Unless you have a fix for that?

    WPyogi

    @wpyogi

    Forum Moderator

    They still look the same here… Did you save the changes (not just preview)?

    WPyogi

    @wpyogi

    Forum Moderator

    See if you can adjust the margins on the right side.

    I don’t know how to do that.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] Adding a photo caption makes my pics go on separate lines’ is closed to new replies.
Skip to toolbar