WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Posts Overlapping (4 posts)

  1. ninjaninja
    Member
    Posted 1 year ago #

    Hi,

    On my home page my posts dont seem to list one after the other, they are all bunched up and overlapping.

    Can anyone help please?

    http://ninjaninja.co.uk/

    Thanks!

  2. Andrew
    Forum Moderator
    Posted 1 year ago #

    Try clearing left each post, using CSS.

  3. Xaliber
    Member
    Posted 1 year ago #

    It seems one of your elements is styled with float. This is a common problem in floating elements where uncleared elements would overlap each other. In this case, it seems it is your .alignleft.

    To fix this, in your CSS simply replace your .entry with this:

    .entry {
    text-align: justify;
    line-height: 20px;
    padding-top: 8px;
    font-family: Georgia, Times, "Times New Roman", serif;
    font-size: 12px;
    color: #4D4C4C;
    overflow: hidden; // <-- I add this new line
    }

    In case you're interested with this case, you might want to check here: http://css-tricks.com/the-how-and-why-of-clearing-floats/ :)

  4. ninjaninja
    Member
    Posted 1 year ago #

    Thanks so much Xaliber, thats sorted it!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.