Questions tagged [sticky-footer]

Sticky Footer is a CSS technique used to anchor the footer section to the bottom of the page, regardless of the page's height. When the page height is less than the viewport, the Sticky Footer will be at the bottom of the viewport, and when the page height is longer than the viewport, the Sticky Footer will be at the bottom of the page.

Here's the canonical Sticky Footer Implementation:
http://ryanfait.com/html5-sticky-footer/

Here's a bare bones example:

<html>
    <head>
        <link rel="stylesheet" href="layout.css" ... />
    </head>
    <body>
        <div class="wrapper">
            <p>Your website content here.</p>
            <div class="push"></div>
        </div>
        <div class="footer">
            <p>Copyright (c) 2008</p>
        </div>
    </body>
</html>
* {
  margin: 0;
}
html, body {
  height: 100%;
}
.wrapper {
  min-height: 100%;
  height: auto !important;
  height: 100%;
  margin: 0 auto -4em;
}
.footer, .push {
  height: 4em;
}

.footer {
  background: yellow;
}

Simple Demo in Plunker

screenshot

754 questions
-1
votes
3 answers

Fluid 3 column layout with header, sticky footer and full height columns

I've been trying to create a layout with the following features: 3 fluid columns Columns that are full height A header Sticky footer I found a similar question here: CSS layout with header, footer and multiple 100% min-height content columns The…
-1
votes
2 answers

IE not showing footer and containe properly

I am working on the following site: buzzspherefilms.site40.net and the footer is not showing as expected in IE. It works fine with Chrome and Mozilla but in IE, the footer is appearing at the bottom of the page. Can anyone see why? Also, any help on…
user1060187
  • 957
  • 5
  • 12
  • 28
-1
votes
1 answer

Make footer stick to bottom

I have some serious problems make my footer stick to the bottom of my page. I have tried a lot of tutorials that i have found on the internet and none of them made it work?! No matter what i do, my footer will always be beneath my content in my…
Simon Jensen
  • 77
  • 2
  • 10
-1
votes
1 answer

Implement a sticky footer that is outside main wrapper?

Here is a fresh variation on an old question. I'm working on a page where the footer needs to be outside the main wrapper.
I've been looking for a nice cross browser…
metaColin
  • 1,973
  • 2
  • 22
  • 37
-1
votes
1 answer

How to keep footer at the bottom with background at 100%?

I'm trying to figure out how to add a footer at the bottom of my webpage but it doesn't seem to "stick" at the bottom, I don't know if it's my background image at 100% that is causing the problem, so I kind of need help here keeping the footer at…
PatrickGamboa
  • 672
  • 4
  • 22
  • 43
-1
votes
1 answer

CSS, sticky footer

I know, I know, I asked this question before. Unfortunately, I lost my work. I started over and I came back to my old post (min-height:100% doesn't work on my container?) and couldn't remember what the trick actually was. So I will post the link to…
Johann Behrens
  • 114
  • 2
  • 9
-2
votes
1 answer

making a footer stick to the bottom of the page

I am having a nghtmare with some code on a site I am making, should be pretty simple but it isn't proving so. I want my footer to stick to the bottom of the page, but for all the content to come first (when there is more than a page worth, if that…
John B
  • 9
-2
votes
2 answers

Stick element to bottom side

on my shop I have a green bar that I would like to stick to the bottom side (and the pink bar underneath it would be set to display:none) http://www.screencast.com/t/v0IG2rWNlb Example of product page on which it appears (site is responsive so you…
Pascal
  • 119
  • 9
-2
votes
1 answer

HTML CSS - sticky footer

I have a problem with my footer. I tried to use this solution http://ryanfait.com/sticky-footer/. At first it worked fine, but now it doesn't. I am trying to use this footer solution on my website. When I use line with:
Olda Stiller
  • 65
  • 1
  • 9
-2
votes
1 answer

Why doesnt my header stay under my content?

No matter what I try my footer stays on the bottom of my screen and not after my content like I need it to be. Its stays at the bottom of my screen and over my content that it's supposed to be under. I put my header (not in the jsfiddle), content,…
-2
votes
1 answer

Continuously playing sticky-footer music player for wordpress website for all pages

I bought 3 music players (1) tPlayer - audio player (with playlist) for WP, (2) Sticky Shoutcast & Icecast Radio Player — «Line-R» w/ AAC+ , (3) AIO Radio Station Player - Shoutcast, Icecast and more) from codecanyon.net I want a sticky-footer music…
darla_sud
  • 359
  • 1
  • 4
  • 15
-2
votes
1 answer

Using an Image as my footer background in CSS

I would like to know how I can use CSS to set an image as the footer background, I would also like the image to automatically resize depending on the screen resolution. If possible I would also love to make the footer a sticky-footer. I would really…
stan
  • 1
  • 1
  • 6
-2
votes
1 answer

Stick footer to the bottom of page

I have tried all I can... Maybe you will help me. According to Sticky footer and other things like that my container should be 100% height and footer always at bottom of the page, but I get nothing... Thanks Mine site - http://mangobooking.com/
Rincew1nd
  • 196
  • 5
  • 20
-3
votes
1 answer

Sticky Footer CSS HTML in Wordpress

Please check over the site: www.HearMe.fm As you can see, there is a sticky on the bottom of the page. The problem is that I want the bottom of the page extended, so that the content is not hidden under the sticky element. I.e. the left hand menu is…
SomeOne
  • 5
  • 2
-3
votes
1 answer

Why don't we just use tables anymore?

http://amtportal.org/Layouts/navbar2.php The footer doesn't show up in Firefox and the Navigation bar on top doesn't show in IE. Why?
user3068010
  • 59
  • 1
  • 2
  • 4
1 2 3
50
51