WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Images extend below the post (3 posts)

  1. Drawer
    Member
    Posted 7 years ago #

    All my images go below the post box if there is no text underneath each one. And since it is mostly cartoons, this is terrible. I went back in archives and found that someone recommended this: <br style="clear:both" /> This does work if you insert it in the code for EACH individual post. Ugh. Isn't there a css formula to correct it in the stylesheet?

    I went in the stylesheet for my themegenerator style - which looks like I may have picked a bad one - and inserted Clear: both in the item area, but that just pushed the post boxes further apart and did not take care of the hanging image.
    See in : http://www.donnabarstow.com/WordPress
    Thanks for your experience and ideas on this.

  2. JaneLitte
    Member
    Posted 7 years ago #

    I would put the clear in the index.php before your meta data. In fact, I would probably put

    .clear {clear:both;}

    in my stylesheet and then in the single.php files and the index.php files, I would put

    <div class="clear"></div>

    before the

    <small class="metadata">
     <span class="category">Filed under: __ </span> |
     __ Comment</a></small>
  3. Drawer
    Member
    Posted 7 years ago #

    Thank you for helping, Jane!

    For anyone who has this problem, I had to do both to work it: put the div class in the index file, and I put the clear underneath the item menu. And it works!

Topic Closed

This topic has been closed to new replies.

About this Topic