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

General Discussion

Any website experts, how would one achieve this effect?

http://www.creativemms.com/

I get that the very top contact header is fixed, but the effect where when you scroll under the Call to Action where the logo morphs to being fixed as well with the navigation, is it some sort of scroll length media query or?

Any help would be greatly appreciated, I really am floored by that effect.

3 Answers

try this: http://www.dwuser.com/education/content/creating-a-floating-navigation-menu/

Also read this about some of the pitfalls to be aware of (specifically with mobile devices): http://blog.teamtreehouse.com/fixed-headers-and-navigation-bars-used-in-web-design

If you inspect the element logo. You will notice their is 'a' tags that both say logo. One is shown block the other is hidden. Once the window has scrolled down. The first visible logo 'a' tag will hide and the other will fade in. Looks like jQuery work. Let me know if that made sense.

Thank you very much Andrew and Ruben. Especially for those links, that is a wonderful blog find, DWuser.

And that's great, I'm about to start the JQuery course!

Such luck, thanks again guys.