Forums

Footer don't stay at the bottom (5 posts)

  1. fercasa83
    Member
    Posted 1 year ago #

    Hi,

    I'm developing my first WP theme, I'm not very familiar with CSS so I'm learning it on the go.

    Right now I'm having some trouble to position the footer at the bottom of the page, I've searched on the forum and there are many solutions but so far they haven't worked.

    I would appreciate your help on this :)

    Here is the structure of my divs:

    Open wrapper
    masthead
    main
    footer
    close wrapper

    below is the CSS I'm using (the short version)
    [CSS moderated as per the Forum Rules. Please post a link to your site instead.]

    cheers!

  2. fercasa83
    Member
    Posted 1 year ago #

    Sorry about that :s here is the CSS code

    http://wordpress.pastebin.com/9RRLx3fK

  3. randinicole
    Member
    Posted 1 year ago #

    Well without viewing the webiste itself and the code I would suggest trying the <div style="clear:both"></div> trick. Place that right before your footer section starts.

  4. fercasa83
    Member
    Posted 1 year ago #

    Hi, unfortunately I'm not hosting my site yet so I don't really have any way to show it :(

    I tried your option but still the footer appears up to the top but this time behind everything else...

    I also tried changing all the positions by using floats and widths and it worked.. kind of.. the problem now is that my design uses backgrounds that should go outside of the borders but it seems that I can't do that using floats, only positions :(

    any other thoughts?

  5. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Have you tried validating your theme's pages?
    http://codex.wordpress.org/Validating_a_Website

Topic Closed

This topic has been closed to new replies.

About this Topic