My footer wont stay fixed - Wordpress

admin

Administrator
Staff member
I am doing a lot of modifications on a wordpress theme for a friend. I have having a lot of issues with the footer staying at the bottom of the page, instead of keeps on moving up and leaving whitespace.

URL:
<a href="http://design.jarethmusic.com/about/" rel="nofollow">http://design.jarethmusic.com/about/</a>

HTML (footer.php)

Code:
&lt;?php global $woo_options; ?&gt;
    &lt;?php
        $total = 4;
        if ( isset( $woo_options['woo_footer_sidebars'] ) ) { $total = $woo_options['woo_footer_sidebars']; }
        if ( ( woo_active_sidebar( 'footer-1' ) ||
               woo_active_sidebar( 'footer-2' ) ||
               woo_active_sidebar( 'footer-3' ) ||
               woo_active_sidebar( 'footer-4' ) ) &amp;&amp; $total &gt; 0 ) {

    ?&gt;

    &lt;div id="footer-widgets"&gt;
        &lt;div class="col-full col-&lt;?php echo $total; ?&gt;"&gt;

        &lt;?php $i = 0; while ( $i &lt; $total ) { $i++; ?&gt;
            &lt;?php if ( woo_active_sidebar( 'footer-' . $i ) ) { ?&gt;

        &lt;div class="block footer-widget-&lt;?php echo $i; ?&gt;"&gt;
            &lt;?php woo_sidebar( 'footer-' . $i ); ?&gt;
        &lt;/div&gt;

            &lt;?php } ?&gt;
        &lt;?php } ?&gt;

        &lt;div class="fix"&gt;&lt;/div&gt;
        &lt;/div&gt;
    &lt;/div&gt;&lt;!-- /#footer-widgets  --&gt;
    &lt;?php } ?&gt;
&lt;div class="push"&gt;&lt;/div&gt;
    &lt;div id="footer"&gt;
        &lt;div class="col-full"&gt;

        &lt;div id="copyright" class="col-left"&gt;
        &lt;?php if( isset( $woo_options['woo_footer_left'] ) &amp;&amp; $woo_options['woo_footer_left'] == 'true' ) {

                echo stripslashes( $woo_options['woo_footer_left_text'] );

        } else { ?&gt;
            &lt;p&gt;&lt;?php bloginfo(); ?&gt; &amp;copy; &lt;?php echo date( 'Y' ); ?&gt;. &lt;?php _e( 'All Rights Reserved.', 'woothemes' ); ?&gt;&lt;/p&gt;
        &lt;?php } ?&gt;
        &lt;/div&gt;

        &lt;div id="credit" class="col-right"&gt;
        &lt;?php if( isset( $woo_options['woo_footer_right'] ) &amp;&amp; $woo_options['woo_footer_right'] == 'true' ) {

            echo stripslashes( $woo_options['woo_footer_right_text'] );

        } else { ?&gt;
            &lt;p&gt;&lt;?php _e( 'Powered by' ); ?&gt; &lt;a href="http://www.wordpress.org"&gt;WordPress&lt;/a&gt; and &lt;a href="http://www.woothemes.com"&gt;WooThemes. &lt;/a&gt; &lt;?php _e( 'Designed and edited by' ); ?&gt; &lt;a href="http://johns-webdesign.com/"&gt;John Brown.&lt;/a&gt;&lt;/p&gt;
        &lt;?php } ?&gt;

        &lt;/div&gt;&lt;/div&gt;
    &lt;/div&gt;&lt;!-- /#footer  --&gt;
&lt;/div&gt;&lt;!-- /#wrapper --&gt;
&lt;?php wp_footer(); ?&gt;
&lt;?php woo_foot(); ?&gt;
&lt;/body&gt;
&lt;/html&gt;

CSS

Code:
#footer{padding: 30px 0 20px; background: url(images/bg-ripple-footer.png) repeat top left; color:#999;}
#footer p {}
#footer a { color: #ffffff; }
#footer #credit img{vertical-align:middle;}
#footer #credit span{display:none;}

#footer-widgets { margin-bottom: -5px; background: url(images/bg-ripple-footer-widgets.png) repeat top left; padding:10px 0; height:60px; }
#footer-widgets .block { padding:20px 10px 0 10px; float:left; }
#footer-widgets .col-1 .block { width:100%; padding-left:0; }
#footer-widgets .col-2 .block { width:420px; padding-left: 20px; }
#footer-widgets .col-3 .block { width:270px; padding-left: 16px;  }
#footer-widgets .col-4 .block { width:200px; padding-left: 10px;  }

I hope I can get to the bottom of this with your help.
John