Pinegrow Support Forum

Bootstrap 4 + Navwalker = no active class added


#1

Hello,

  1. I added the “Nav Menu” Action to my Bootstap 4 “.navbar-nav” element (onto the ul element of my menu)
  2. I set the Menu Type to “Bootstrap 4”

Result: the menu items are added to my menu (Bravo!) but no active class is added.There isn’t any field intended for that purpose. It should look like this for the active page:

<li class="nav-item active">
	<a href="index.html" class="nav-link">Example</a>
</li>

Did I miss something? Any help would be appreciated. Thanks!
Best regards,
Pierre


#2

now it’s working. Don’t know why it didn’t before but everything is working like it should. Sorry to bother :slight_smile: