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


How do you keep a menu bar at the top of the page while you scroll down

Does tree house teach this

2 Answers

Find a tutorial on a sticky menu here: http://blog.teamtreehouse.com/create-sticky-navigation

thank you for a great example! I have been working on a navbar that should appear sticky just on a subsection on a page an then diasappear when scrolling futher..

I have problem with getting the position right. sometimes it is sticky too early and on some devices to late... the Ipad got it all wrong. I thnik it have somthing with touch events? anyone who can point in the right direction?