I am using two navbar
in my project and I have a problem to align the text of the first menu vertically, I tried to create a structure to change but I did not succeed, what I have is this:
First Navbar
:
<div class="navbar-collapse collapse" id="MenuUm">
<div class="search-side"> <a href="#" class="show-search"><i class="icon-search-1"></i></a>
<div class="search-form">
<form autocomplete="off" role="search" method="POST" class="searchform" action="resultado.php">
<input type="text" value="" name="s" id="s" placeholder="Buscar...">
</form>
</div>
</div>
<!-- Início da Lista de Navegação-->
<ul class="nav navbar-nav navbar-right">
<li> <a href="catalogos.php">catálogos e manuais</a> </li>
<li> <a href="cores.php">cores e linha</a> </li>
<li> <a href="garantia.php">garantia e uso</a> </li>
</ul>
</div>
Second Navbar
:
<div class="navbar-collapse collapse" id="MenuDois">
<!-- Início da Lista de Navegação-->
<ul class="nav navbar-nav navbar-right">
<li> <a href="index.php">INÍCIO</a> </li>
<li> <a href="empresa.php">EMPRESA</a> </li>
<li> <a href="produtos.php">PRODUTOS</a> </li>
<li> <a href="representantes.php">REPRESENTANTES</a> </li>
<li> <a href="encontrar.php">ONDE ENCONTRAR</a> </li>
<li><a href="contato.php">CONTATO</a></li>
</ul>
</div>
The css
of Navbar
looks like this:
.navbar-nav { margin: 7.5px -15px; } .navbar-nav > li > a { padding-top: 10px; padding-bottom: 10px; line-height: 20px; }
What I tried to do was create two different structures for each Navbar
, so, but as I said, it did not work.
.navbar-nav-1 > li > a { padding-top: 10px; padding-bottom: 10px; line-height: 20px; } .navbar-nav-2 > li > a { padding-top: 10px; padding-bottom: 10px; line-height: 20px; }
To get easier to understand I'll attach a picture of what I'm trying to do, see: Example of what I need
The site under development is this: Site