Close Navbar When Nav Link is Clicked

  • Updated on
  • read
  • Add to Flipboard Magazine.

By default the navbar dropdown stays open when clicked. This can be an issue if you are using name anchor’s or linking to an id like href=”#section”

Want to Get Email Updates?

Receive a monthly digest of new tutorials and resources.

Written by: Jacob Lett - Jacob started BootstrapCreative to help others learn web design and development. He has built websites for 10+ years for companies and as a freelancer. He enjoys learning and encouraging others to improve their skills.
Category: Code Snippets
Tags:


Advertise Here