Highlight Active Navigation Elements (Ep 18) - Advanced Blog/ CMS "Watch me Work" Series

Published: 15 October 2017
on channel: DevMarketer
7,965
119

Today's video we highlight active navigation elements on the admin portal of our website. So when we are currently on a page for users, we would expect the "Users" navigation element to be highlighted to show our current page. We will incorporate LaravelEasyNav package (which I maintain) in order to do this easily.

Laravel Easy Nav package allows us to simply add a rule for our navigation and when that rule is true, then the tag will be given the class of "is-active" (or whatever class we determine in our config file).

We also solve a problem related to active accordions being closed by default when the page first loads. We want active accordions to be expanded by default and we will add a couple lines of JS to make this happen.

==== MORE FROM THIS SERIES . ====

Full Playlist for the "Building an Advanced Blog/CMS from Start to Finish" Series:
   • Build Advanced Blog/ CMS from Start t...  


==== DOWNLOAD SOURCE CODE ====

Download Code from this Episode:
https://github.com/DevMarketer/DevMar...

==== LINKS ====

Laravel EasyNav Package
https://github.com/DevMarketer/Larave...


==== FOLLOW ME ====

Subscribe for New Releases!

Subscribe to DevMarketer Insider
https://confirmsubscription.com/h/d/5...

Twitter -   / _jacurtis  
(ask me questions!)


==== QUESTIONS? ====

Leave a comment below and I or someone else can help you.
For quick questions you may also want to ask me on Twitter, I respond almost immediately.

Email me [email protected]

Thanks for all your support!


Watch video Highlight Active Navigation Elements (Ep 18) - Advanced Blog/ CMS "Watch me Work" Series online without registration, duration hours minute second in high quality. This video was added by user DevMarketer 15 October 2017, don't forget to share it with your friends and acquaintances, it has been viewed on our site 7,96 once and liked it 11 people.