I not sure about what my Toggle menu is not displaying in Tablet and Mobile.
I checked it 5 times but I just can´t find the error.
I please check my codeply http://www.codeply.com/go/rKSNVkLFaY
Any idea?
Thanks :-)
Remove the classes collapse
and navbar-collapse
from the #test
ul => <ul id="test" class="nav navbar-nav navbar-left">
.
Change data-target
=> data-target=".navbar-ex1-collapse"
, you need to add the dot for 'class'.
Here's a working example: http://jsbin.com/dipefamiya/3/
UPDATE
You are also setting a height
property on #NavGerster
that conflicts with the menu. Maybe you can find another way to achieve the same thing? If you comment it out it will work.
#NavGerster{ border: 0px solid transparent; background-color: #8a7d78; /*height: 74px;*/ }
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.