Good morning everyone,
I’m having an issue with the Bootstrap navbar: I assigned the WP-Action ‘NAV Menu’ to the ‘Navbar section’. All working fine - it loads the primary menu as asked.
But the problem is that I’m creating a one page with a page-scroll class. I already tried to assign that class using the WordPress Menu add CSS class option (in WordPress itself). But that doesn’t work since it assigns the action to the element li instead of the underlaying a.
I guess I can inject that class to every nav li a using jQuery, but I was wondering if it cannot be done in Pingegrow itself?
e.g.:
$( “nav li a” ).addClass( “page-scroll” );
Thanks all for the help.