Support » Themes and Templates » Help concerning the position of the footer.

Viewing 11 replies - 1 through 11 (of 11 total)
  • I think you are missing some closing “div” tags. You are definitely missing a closing tag for the “post” div but I think you are also missing a closing tag for the “container” div.

    Thread Starter 5465

    My problem is when I get rid of the </div> to make the comments work, the index breaks. Am i missing another div or something?

    I can’t really follow what you are up to in #foot in your CSS. It is clear both plus fixed width with a margin of 16px and 5px padding as well. That is where the problem is. Just my 2c.

    Yes I think there is a combination of things here. I found the other closing div but the “post” div isn’t closed. Just before your “footer” div you will see a closing “div” tag. There should be two. And there’s a 16px “margin-left” in your footer as mentioned by Root which is probably shifting it across. You also have a width in your footer which I don’t think you need as it is contained by the “container” div.

    The width and the margin combo are definitely borking the layout.

    Thread Starter 5465

    Actually, the padding has nothing to do with it, but I will explain the margin, as it does seem a bit peculiar until you know what my layout used to look like, until i changed it.
    Before I had the solid background color, I had a pattern, and wanted a shadow around it. So, I had made the container div larger than it needed to be, then positioned it all using margins, so it lined up. I got rid of the pattern, and made it a fixed width, I just didn’t have the time to fix it…I’m lazy >_<
    Okay, and I didn’t notice that div above the RSS feed link, so I think that is the problem. When i get onto my other computer I can test, which I believe is infact the problem.
    Thanks so much for all of your help, I appreciate it!!!

    Thread Starter 5465

    Ugh…Upon testing Im still having problems. I looked in the wp-comments.php and all the divs were closed and accounted for in it. I then did the same for the index, and saw no open </div>s, and it still doesnt work 🙁

    That closing div for “post” is definitely missing in your index.php file. If you check with W3C they will confirm it. The reason that your “comments” page seems to be OK is a combination of the “post” tag being missing and that extra closing div you have which shouldn’t be there but replaces the missing “post” tag. You should remember that the post is carried over to your comments page. It’s tag is missing. The extra one you have on your comments page replaces it. Both pages are wrong. In this case two wrongs do make a right as far as your comments page is concerned.

    Well where did it go ? The post closing div is generated by WP

    I am sorry to say this but we are struggling because there is a lot of wierd stuff going on down in the footer. I think there is a closing div too many, the container closes before the footer, the text is not in a p, there is a but no href, and all kinds of other stuff. Not to mention the big job of pasting the links in prior to the content. Almost anything might have gone wrong.

    Thread Starter 5465

    Heh, yeah Im getting confused myself. Im going to just redo it, and organize myself a little better. What i did was made a layout, then implimented Movable Type into it. Then i got rid of all the Movable type stuff and put wordpress in. I think its all getting too confused, so am redoing it all.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Help concerning the position of the footer.’ is closed to new replies.