WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] footer css problem (4 posts)

  1. jahur
    Member
    Posted 1 year ago #

    I am trying to develop a wp theme. But a problem arise with the footer.
    I have uploaded the theme in my testing server.
    http://wp-site.co.cc

    Here footer area comes into left side, just beneath the sidebar. But I have created separate footer.php file and div for it.

    I want to set my footer part at bottom of the theme.

    Please take a look at the codes below.

    This is the footer.php

    <div id="footer">
    
    <span> This footer . All right reserved. </span>
    
    </div>
    
    <?php wp_footer(); ?>
    </body>
    </html>

    In style.css

    #footer{ height: auto;
    		width:100%;
    
    }
  2. Andrew
    Forum Moderator
    Posted 1 year ago #

    As the problem is specifically with CSS, you should inquire in a CSS specific forum.

  3. J
    Member
    Posted 1 year ago #

    hi,

    If your wanting at the bottom of the theme just add into the CSS clear: both; so it would like like this in the stylesheet

    #footer{ height: auto;
    		width:100%;
                   clear:both
    }

    Cheers
    J

  4. jahur
    Member
    Posted 1 year ago #

    Hi J,

    IT'S WORKING!!! thanks a lot. :)

    Jahur

Topic Closed

This topic has been closed to new replies.

About this Topic