WordPress.org

Support

Support » Themes and Templates » [Resolved] stranege footer position problem

[Resolved] stranege footer position problem

  • Hy, I’m building a template based on twentyten. My footer is on every template on his place except the category page, there the footer is below the wrapper. I’ve bin trying and trying, but I don’t know any anymore.
    Can anyone help me please?

    Thanks for thinking with me!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Moderator Andrew Nevins

    @anevins

    Forum moderator

    Resolve the unclosed errors from the W3C Validator.

    I’ve looked at them, but for me none of these errors make sense causing my problem. If it does to you, which wouldn’t surprise me, I would like to hear suggestions.

    Moderator Andrew Nevins

    @anevins

    Forum moderator

    Try deactivating plugins to explore whether any could be responsible.

    Doesn’t make any differnce.

    WPyogi

    @wpyogi

    Forum Moderator

    If you look at the HTML for the home page, it shows the footer inside the wrapper:

    <div id="wrapper" class="hfeed">
       <div id="access" role="navigation">
       <div id="socmed">
       <div id="header">
       <div id="main">
       <div id="footer" role="contentinfo">
    </div

    But on the category page, the footer is below the wrapper closing tag:

    <div id="wrapper" class="hfeed">
       <div id="access" role="navigation">
       <div id="socmed">
       <div id="header">
       <div id="main">
    </div>
    <div id="footer" role="contentinfo">

    I’d go back and look at those validation errors for tags…

    You’ve got one too many of </div> in your sidebar. That’s why the browser thinks footer-div is outside the wrapper-div.

    Look for the code that generates

    </div></div>
    </li></ul>
    </div><!-- #primary .widget-area -->

    and remove one </div> right before </li></ul>.

    The easiest would probably be to search your php files for <!-- #primary .widget-area -->.

    Secondly, you have an issue with a couple of links. It’s your social media icons on the top (facebook, twitter, etc.). Should be target="_blank" not target=_blanc" (note ” after the = and letter k instead of c). This won’t affect the layout, but still something that you should fix.

    You can safely ignore the rest of the errors.

    Andrie, you’re the best! I’ve coded he sidebar my self in a textwidgetwith a bit copy and paste from dreamweaver, at some point I’ve missed a /div with overwriting, I think.

    It works, thanks to you all!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] stranege footer position problem’ is closed to new replies.