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.

Hannah Frost
3,302 PointsIssues with implementing what I've learnt into my practice website
Could I get some help with issues I'm having on my website? Trying out things I've learnt on the front end developer track and run into some issues which I can't seem to fix. Any help greatly appreciated!
index.html page:
- footer doesn't appear to stick to the bottom of the page
- Text in <figcaption> seems to squish together onto one line when on larger screen
posts.html: -no sticky footer again -theres a banner that is now hidden behind the nav bar. In larger screens the nav bar should always be at the top and content should scroll under. You can see the banner in smaller display
bits.html: -same issue with nav bar hiding content behind it. Footer is under there!
Here's a link to my code - please be kind, I've only just started! Thanks
test.hannahfrost.co.uk
1 Answer

jamesjones21
9,248 PointsHi Hannah, I would amend your css in the following:
Existing:
-----------
.main-footer {
text-align: center;
padding: 2em 0;
background: #d9e4ea;
}
change:
---------
.main-footer {
text-align: center;
position:absolute;
bottom:0;
width:100%;
padding: 2em 0;
background: #d9e4ea;
}
this should make it stick to the bottom :)