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.

HTML How to Make a Website Responsive Web Design and Testing Refactor the Layout

Henrique Voni
Henrique Voni
12,296 Points

Footer not on the end of the page

In the course "Making a website", the footer is where we put adittional info, but it's not sticking to the end of the page. It shows up just after the end of the content.

Does the footer needs to be set manually to the bottom of the page or there is something wrong with my code?

4 Answers

Vilius Grižas
Vilius Grižas
2,753 Points

Firstly, there's nothing wrong with your code.

In the lesson he just doesn't make the footer appear on the bottom of the page. Here's a link to the finished page and in the contact page you can clearly see that the footer is not sticking to the bottom. http://treehousewebsite.com

Here's a video that gave me the understanding of how does the code work. (Start at mintue 17:30, peanut butter jelly sandwich https://www.youtube.com/watch?v=KUB-aJXquUA&index=2&list=PLhQjrBD2T383Q2VtqEaQn8nZh-681av20) )

Hope that helps :)

Henrique Voni
Henrique Voni
12,296 Points

You guys are very helpful. Thanks for the rapid and nice response :)

Henrique Voni
Henrique Voni
12,296 Points

I couldn't stick the footer using flexbox because the footer and sections are wrapped by the same DIV #wrapper.. right? I tried here but didn't work