Drop down Nav Menu


I have tried to implement bootstrap drop-dawn nav menu, as Walker_Nav_menu, but no luck, start_lvl working just fine, but cannot add items to <div class="dropdown-menu"> element. Here is a bootstrap drop-down menu:

<ul class="nav">
  <li class="nav-item">
    <a class="nav-link active" href="#">Active</a>
  <li class="nav-item dropdown">
    <a class="nav-link dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">Dropdown</a>
    <div class="dropdown-menu">
      <a class="dropdown-item" href="#">Action</a>
      <a class="dropdown-item" href="#">Another action</a>
      <a class="dropdown-item" href="#">Something else here</a>
      <div class="dropdown-divider"></div>
      <a class="dropdown-item" href="#">Separated link</a>
  <li class="nav-item">
    <a class="nav-link" href="#">Link</a>
, , , , Alexander Baily 3 years 2019-10-22T06:23:14-05:00 0 Answers 84 views 0

Leave an answer