WordPress.org

Ready to get started?Download WordPress

Forums

Footer Shift (6 posts)

  1. SJF
    Member
    Posted 6 years ago #

    Website: http://www.sjf.me

    Problem:
    As you can see, the most recent post simply says "test". And at the very bottom of the page, the footer is shifted to the right. If I delete the recent post "test" the footer resets to its normal position. Also, each blog entry's individual page has a correctly placed footer.

    It seems to me there must be a bug with the blog whenever there are more than 3 blog posts... or something else, I'm unsure. The actual PHP is fine, I compared it to the originals and everything looks fine. If I deleted the TEST post, it works fine. I'm just really confused, and any help would be great.

    If someone needs an admin for WP-Admin let me know, or a temporary FTP to look at the PHP code, that's fine too (as long as you're not destructive obviously).

  2. SJF
    Member
    Posted 6 years ago #

    Also, I forgot to mention, that if you go to a section where the text does not fill the page, the right side of my blog overflows past the layout and I have no idea how to fix this. Any help on this would be great too.

    Example: Here

  3. wedge1082
    Member
    Posted 6 years ago #

    I don't know what causes it but I have the same thing (only not nearly as far as yours) in my blog. http://www.gamerinvestments.com

    I have also seen it in other wordpress blogs. None of them are as far as yours.

  4. SJF
    Member
    Posted 6 years ago #

    You must have fixed yours because I see no shift.
    Also, I found a fix (rigged, but still works).
    Apparently I have to add a </div> in index.php for every post I make. So I just added a crap ton of </div> tags at the end, which doesn't effect anything in any way. (I don't care about W3 etc)

  5. @mercime
    Moderator
    Posted 6 years ago #

    style.css add the ff to body and #content

    body {
    text-align: center;
    }
    #content {
    text-align: left;
    }
  6. iridiax
    Member
    Posted 6 years ago #

    Apparently I have to add a </div> in index.php for every post I make. So I just added a crap ton of </div> tags at the end, which doesn't effect anything in any way. (I don't care about W3 etc)

    Code has rules, and if you break some of the more critical ones (like always closing and properly nesting div tags), you will have problems. W3C validation could have helped you find the unclosed/improperly nested div tag(s) causing the problem so that you would not have to throw in a "crap ton" of closing div tags in an attempt to solve the problem.

Topic Closed

This topic has been closed to new replies.

About this Topic