html - Page loads with navbar extended - already checked for "collapse in" -
anyone know why page loading navbar pre toggled down looking @ code?
the navbar loads extended, click on toggle button "refreshes" extended position. second click retracts navbar position initialized in.
<div class="nav-gradient"> <nav class="navbar navbar-default navbar-fixed-top"> <div> <!-- brand , toggle grouped better mobile display --> <div class="navbar-header"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> <span class="sr-only">toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> </div> <!-- collect nav links, forms, , other content toggling --> <div class="navbar-collapse" id="bs-example-navbar-collapse-1"> <ul class="nav navbar-nav navbar-right navbar-right-matt"> <li class="dropdown"> <a href="/websites/view/high-end-price" class="dropdown-toggle" data-toggle="dropdown"><?=_('websites')?><b class="caret"></b></a> <ul class="dropdown-menu">
add class of collapse .navbar-collapse
so:
<div class="navbar-collapse collapse" id="bs-example-navbar-collapse-1">
Comments
Post a Comment