Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS

William Larsten
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
William Larsten
UX Design Techdegree Graduate 17,195 Points

Get bottom navbar to stick to bottom in Bootstrap

I'd like a bottom menu to stick to the bottom of the window even when there's little content. Check out this link to see what I mean:

http://www.supple.nu/users/sign_in

The problem is the whitespace below the bottom menu.

I can seemingly solve the problem by adding the classes:

position: absolute;
width: 100%;
bottom: 0;

That makes it look good on the large viewport size, but it get's messed up on smaller viewports...

Would really appreciate some help on this! ;)

1 Answer

Hi William,

Can't give you specifics unfortunately, but there is an example of a "sticky footer" on the Bootstrap homepage.

Is this any help?

http://getbootstrap.com/examples/sticky-footer/

Regards

Paul