Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.


William Larsten
.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:


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?