WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Footer Problem

[Resolved] Footer Problem

  • I’m using the Moonlight v1.0 theme and having issues with the way the footer is being placed. I want the footer to remain static at the bottom of the page ALWAYS. The problem is whenever I have a small # of posts or the length of the posts vary The footer crawls up to the bottom of the last post.

    This is my code:

    <div id=”footer”>[ RSS | Comments RSS | Atom | Technorati | <a
    href=”http://digg.com/users/diggmoNYC/dugg”>Digg | <a
    href=”http://www.wordpress.org/”>WordPress]<!– <?php echo get_num_queries(); ?> queries. <?php timer_stop(1); ?> seconds. –>

    <!– Start of StatCounter Code –>

    blah blah blah

    <!– End of StatCounter Code –>
    <br>
    <?php wp_footer(); ?>
    <?php akismet_count(1); ?>
    </div>

    How can I correct this?

    Here’s my blog.

    Thanks for any help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • It is in the CSS. Find the class or id that controls the footer placement.

    Jeremy Clark

    @jeremyclark13

    Member

    Very simple just add this above your <div id="footer">
    <div style="clear:both;"></div>

    So your new footer code would look like this.

    <div style="clear:both;"></div>
    <div id="footer">[  RSS  |  Comments RSS |  Atom | Technorati | <a
    href="http://digg.com/users/diggmoNYC/dugg">Digg | <a
    href="http://www.wordpress.org/">WordPress]<!-- <?php echo get_num_queries(); ?> queries. <?php timer_stop(1); ?> seconds. -->

    Excellent Jeremy! Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Footer Problem’ is closed to new replies.
Skip to toolbar