Support » Fixing WordPress » Images next to eachother in post

  • Hi all,

    I try to get 3 pictures per post horizontal in row (next to eachother) but whatever I try the pictures show up under eachother. Tried to adjust size, add some extra css code, align left/right/center/mixed, nothing helps. The preview in admin (wysiwyg) is fine, but display live isn’t. Please some help.

    My site

Viewing 1 replies (of 1 total)
  • Michael

    (@alchymyth)

    Forum Moderator

    as you are using captions, wordpress will generate ‘wp-caption alignleft’ etc classes, which are missing in your style.css.

    add these to the bottom of style.css:

    .wp-caption.alignleft { float:left; margin-left:0; margin-right:5px; }
    .wp-caption.aligncenter { margin-left:auto; margin-right:auto; }
    .wp-caption.alignright { float:right; margin-left:5px; margin-right:0; }
    p.submeta {clear:both;}

    adjust the number values in the margins to your needs.

    the last line p.submeta {clear:both;} should prevent your ‘written by..’ data from sticking to the right of the images.

    (only checked in firefox)

Viewing 1 replies (of 1 total)
  • The topic ‘Images next to eachother in post’ is closed to new replies.