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 trialhenriquegiuliani
12,296 PointsFooter 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
2,753 PointsFirstly, 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 :)
Russell Sawyer
Front End Web Development Techdegree Student 15,705 PointsYou can use what is called a 'sticky footer' by using the clac() function.
or
You can use flexbox.
.
henriquegiuliani
12,296 PointsYou guys are very helpful. Thanks for the rapid and nice response :)
henriquegiuliani
12,296 PointsI 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