WordPress.org

Ready to get started?Download WordPress

Forums

Weird post display appearance (4 posts)

  1. AJRitz
    Member
    Posted 7 years ago #

    I'm looking for any suggestions for dealing with an odd problem I'm having with existing posts when trying to switch to a new theme. I've run into the same problem with multiple themes, and can't seem to figure out what's going on. The issue happens where there is a photo embedded in the post, and I have text wrapped around the photo (by giving the photo align="left" or align="right" attributes). If there is not enough text to fully wrap around the photo, the next post on the page appears to "overlap" the previous post (the previous post being the one containing the photo).

    Any suggestions would be much appreciated. I'd really like to update the look of my site, but this issue is a major hurdle.

  2. jkeyes
    Member
    Posted 7 years ago #

    Can you post a link to a page with the problem? It would make it much easier to help if you could.

  3. I think I know what you mean.

    Try adding this:

    <br style="clear:both" />

    After your photos. This should force the next post down to its proper place.

  4. jkeyes
    Member
    Posted 7 years ago #

    I wanted to see the page as it would be better to add the clear property to a selector that matches the start of each post rather than having to add an extra element for each photo added.

Topic Closed

This topic has been closed to new replies.

About this Topic