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 trialJoe Li
8,104 PointsHow to add a background colour to a transparent navbar-fixed-top class in bootstrap when you scroll down?
Hey Guys,
Does anyone know to get a navbar effect like this?
http://eonythemes.com/themes/wb/geass/preview/blog.html
You have a fixed navbar that's transparent but when you scroll down the background colour changes.
What's the simplest way to achieve this?
Thanks,
Joe
2 Answers
Matthew Greenberg
8,173 PointsIts a javascript plugin that uses scrolloffset to animate a fixed header from outside the viewable window to the top of the window. With a quick search i found this one. Try it out.
Looks pretty easy to setup as well. Good luck.
Joe Li
8,104 PointsGreat Matt thanks very much. Very easy to install, thanks for your help!