Click here to Skip to main content
14,934,026 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I built a WordPress theme using Bootstrap as framework. To display the Navbar the way Bootstrap does I use the following nav walker:

Everything works fine, except it only shows the first level dropdown menu. Any ideas on how to fix this?

Thanks for your help!

What I have tried:

I changed this to 'depth' => 3 but is not work
Updated 4-Nov-16 13:24pm
Richard Deeming 4-Nov-16 10:25am
It's clearly mentioned on the home page of that library:

The most noticeable functionality change in Bootstrap 3.0.0+ is that it only supports a single dropdown level. This script is intended to implement the Bootstrap 3.0 menu structure without adding additional features, so additional dropdown levels will not be supported.
Somar Rateeb 4-Nov-16 19:23pm
that is clear thank you :)

1 solution

bootstrap 3 does not support multi level dropdownlist :(

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900