Sto editando un menu di un template fatto con Bootstrap ma non risco a creare delle voci aggiuntive alle linguette presenti.
Lo script originale è questo:
codice HTML:<!--navigation--> <div class="top-nav"> <div class="container"> <nav class="navbar navbar-default"> <div class="navbar-header navbar-left"> <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> <h1><a class="navbar-brand" href="index.html">Mercantile</a></h1> </div> <!-- Collect the nav links, forms, and other content for toggling --> <div class="collapse navbar-collapse navbar-right" id="bs-example-navbar-collapse-1"> <nav class="menu menu--shylock"> <ul class="nav navbar-nav link-effect-7" id="link-effect-7"> <li class="active"><a href="index.html" data-hover="Home">Home</a></li> <li><a href="services.html" data-hover="Services">Services</a></li> <li><a href="about.html" data-hover="About Us">About Us</a></li> <li><a href="short-codes.html" data-hover="Short Codes">Short Codes</a></li> <li><a href="mail.html" data-hover="Mail Us">Mail Us</a></li> </ul> </nav> </div> </nav> </div> </div> <!--navigation-->
mentre quello che vorrei avere io questo:
codice HTML:<!--navigation--> <div class="top-nav"> <div class="container"> <nav class="navbar navbar-default"> <div class="navbar-header navbar-left"> <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> <h1><a class="navbar-brand" href="index.html">Mercantile</a></h1> </div> <!-- Collect the nav links, forms, and other content for toggling --> <div class="collapse navbar-collapse navbar-right" id="bs-example-navbar-collapse-1"> <nav class="menu menu--shylock"> <ul class="nav navbar-nav link-effect-7" id="link-effect-7"> <li class="active"><a href="index.html" data-hover="Home">Home</a></li> <li><a href="services.html" data-hover="Services">Services</a></li> <li class="dropdown"> <a href="#" class="scroll dropdown-toggle" data-toggle="dropdown">Prova<b class="caret"></b></a> <ul class="dropdown-menu"> <li><a href="recipes.php">Prova 1</a></li> <li><a href="recipes.php">Prova 2</a></li> <li><a href="recipes.php">Prova 3</a></li> </ul> </li> <li><a href="about.html" data-hover="About Us">About Us</a></li> <li><a href="short-codes.html" data-hover="Short Codes">Short Codes</a></li> <li><a href="mail.html" data-hover="Mail Us">Mail Us</a></li> </ul> </nav> </div> </nav> </div> </div> <!--navigation-->
Devo cambiare template oppure c'è una soluzione?
Grazie

Rispondi quotando
