Custom active nav
//nav active class $(function(){ $('.nav-custom > li > a').filter(function() { return (this.href == location.href); }).parent('li').addClass('current-page-item'); });