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

WordPress

Jeffrey Alberini
Jeffrey Alberini
4,883 Points

Search Form Toggle Effect

I am using a bare bones bootstrap template and Wordpress.

How can I add a search icon to my bootstrap nav bar? Then have that icon toggle the search fade on and off the screen like I see on modern websites?

2 Answers

Jinson Abraham
Jinson Abraham
1,700 Points

This could be a good starting point for you . Check the Codepen

Jeffrey Alberini
Jeffrey Alberini
4,883 Points

This was just the starting point I needed! I adapted it to my existing code and made the functions work with Wordpress. It looks great and works great. Thank you!!!