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
Craig Watson
27,930 PointsScroll then fixed Nav??
Hi everyone!
I've spotted this done before and it looked great, I've coded a fixed nav before but I'm just looking for help on the scroll to fixed nav ..
I have a header image containing a logo and some social icons, aprox 80 px, I'd like when the user scrolls down for that to go and the nav then stay fixed at the top of the page.
I hope ive explained this well enough ...
Hope you can help !
Craig
1 Answer
Alex Heil
53,547 Pointshi Craig Watson , there's a pretty good article about this (scroll down, then fixed) on css-tricks that should cover what you're looking for: http://css-tricks.com/scroll-fix-content/
hope that's what you're searching for and you find it useful. have a nice day ;)
Craig Watson
27,930 PointsCraig Watson
27,930 PointsThanks this has given me everything I need thank you very much!
Craig
Alex Heil
53,547 PointsAlex Heil
53,547 Pointsyou're welcome, craig - great to hear this helped you out ;)