Sage navbar with Bootstrap 4 alpha

I’m working on a new project, and I noticed Sage includes BS4 alpha, which is cool. However, the navbars don’t seem to work out of the box like they used to. The culprit appears to be a change in the class naming convention for Bootstrap menu items from “menu-item” to “nav-item”.

Someone called dupkey on GitHub released a navbar walker that seems to completely resolve this issue:

Is there an easier way to accomplish this which I’m missing?

I found this post and the one following helpful.

1 Like