WordPress.org

Support

Support » How-To and Troubleshooting » Sticking footer to bottom?

Sticking footer to bottom?

Viewing 7 replies - 1 through 7 (of 7 total)
  • esmi
    Forum Moderator

    @esmi

    Your footer is on the bottom of your page content. When you don’t have any page content, that means it’s halfway up the viewport – which is a very different entity.

    http://ryanfait.com/sticky-footer/

    is the tut I used for an old theme…to keep the footer at the bottom of the browser…..

    MatthewRuddy
    Participant

    @matthewruddy

    I tried the ryanfait tutorial, but it didn’t work 🙁

    And esmi, what’s this about viewports? Do you know then how I can get the footer to not go halfway up the page and instead stick to the bottom? 🙂

    Thanks,
    Matthew

    esmi
    Forum Moderator

    @esmi

    You could try using absolute positioning and keep the footer fixed on the bottom of the viewport with the content scrolling from underneath it.

    MatthewRuddy
    Participant

    @matthewruddy

    How do I go about doing that?

    MatthewRuddy
    Participant

    @matthewruddy

    I tried the absolute positioning.. but that just sticks to the bottom of the window.. I want it to stick to the bottom of the page.. The min-height and height of the wrapper are set to 100% yet the footer is still half way up the page..

    I tried the absolute positioning.. but that just sticks to the bottom of the window.. I want it to stick to the bottom of the page..

    Then I don’t understand what you want.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Sticking footer to bottom?’ is closed to new replies.