html - Bootstrap create third menu level with AdminLTE css -



html - Bootstrap create third menu level with AdminLTE css -

i'm using adminlte template.

but i'm struggling 3rd level menu. i've tried , without plugin i'm using , cannot figure out i'm doing wrong, because 3rd level menu not show up.

here's jsfiddle.

and image shows what's going on.

i've read since bootstrap 3 dropdown-submenu implemented, , i've tried utilize it, without success.

<ul class="dropdown-menu"> <li><a href="#">login</a></li> <li class="dropdown-submenu"> <a tabindex="-1" href="#">more options</a> <ul class="dropdown-menu"> <li><a tabindex="-1" href="#">second level</a></li> <li class="dropdown-submenu"> <a href="#">more..</a> <ul class="dropdown-menu"> <li><a href="#">3rd level</a></li> <li><a href="#">3rd level</a></li> </ul> </li> </ul> </li> </ul>

i've searched around google , i found example, 1 i'm trying implement.

as far know, bootstrap3 has no default multi-level dropdown functionality. using markup taken "extension".

you lacking according css dropdown solution:

add stylesheet:

.dropdown-submenu { position: relative; } .dropdown-submenu>.dropdown-menu { top: 0; left: 100%; margin-top: -6px; margin-left: -1px; -webkit-border-radius: 0 6px 6px 6px; -moz-border-radius: 0 6px 6px; border-radius: 0 6px 6px 6px; } .dropdown-submenu:hover>.dropdown-menu { display: block; } .dropdown-submenu>a:after { display: block; content: " "; float: right; width: 0; height: 0; border-color: transparent; border-style: solid; border-width: 5px 0 5px 5px; border-left-color: #ccc; margin-top: 5px; margin-right: -10px; } .dropdown-submenu:hover>a:after { border-left-color: #fff; }

your updated fiddle

html css twitter-bootstrap

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -