# Bootstrap 4 + Navwalker = no active class added

**URL:** <https://forum.pinegrow.com/t/bootstrap-4-navwalker-no-active-class-added/1889>\
**Category:** Pinegrow WP\
**Created:** [May 15, 2018, 10:01am UTC](https://forum.pinegrow.com/t/bootstrap-4-navwalker-no-active-class-added/1889 "2018-05-15T10:01:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pierrehansen](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/pierrehansen/32/435_2.png) [@pierrehansen](https://forum.pinegrow.com/u/pierrehansen)\
**Post date:** [May 15, 2018, 10:01am UTC](https://forum.pinegrow.com/t/bootstrap-4-navwalker-no-active-class-added/1889/1 "2018-05-15T10:01:10Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![pierrehansen](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/pierrehansen/32/435_2.png) [@pierrehansen](https://forum.pinegrow.com/u/pierrehansen)\
**Post date:** [May 15, 2018, 10:35am UTC](https://forum.pinegrow.com/t/bootstrap-4-navwalker-no-active-class-added/1889/2 "2018-05-15T10:35:00Z")

</div>

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