Support » Fixing WordPress » Adding a photo caption makes my pics go on separate lines

  • Resolved FHQWeb

    (@fhqweb)


    I am trying to add four photos on a page in one row. When I put the photos onto the page they align just like I want them to. However, as soon as I add a caption to the photos WP forces them onto separate lines.

    They are all set to size full, align none.

    Can someone please help me?

    Here is the page. http://www.firehousequilts.org.php53-11.dfw1-2.websitetestlink.com/about-2

    I am HTML illiterate, but learning… I appreciate any help anyone can give me.

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 ‘Adding a photo caption makes my pics go on separate lines’ is closed to new replies.