1
Is it possible to create a menu in Boostrap using two lines? I have several items to put in a menu, I’m decreasing the font, I took up the logo, but I didn’t like the result. I would like to have 2 lines, to balance the font size and use the logo.
<!-- Fixed navbar -->
<nav class="navbar navbar-default navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li class="active"><a style="font-size:0.8em; padding:10px; margin-top: 10px;" href="#">Principal</a></li>
<li><a style="font-size:0.8em; padding:10px; margin-top: 10px;" href="#">O Fundador</a></li>
<li><a style="font-size:0.8em; padding:10px; margin-top: 10px;" href="#">O centro</a></li>
<li><a style="font-size:0.8em; padding:10px; margin-top: 10px;" href="#">Reinserção</a></li>
<li><a style="font-size:0.8em; padding:10px; margin-top: 10px;" href="#">Fotos</a></li>
<li><a style="font-size:0.8em; padding:10px; margin-top: 10px;" href="#">Como encaminhar</a></li>
<li><a style="font-size:0.8em; padding:10px; margin-top: 10px;" href="#">Equipe Técnica</a></li>
<li><a style="font-size:0.8em; padding:10px; margin-top: 10px;" href="#">Prog. Terapêutica</a></li>
<li><a style="font-size:0.8em; padding:10px; margin-top: 10px;" href="#">Outros Serviços</a></li>
<li><a style="font-size:0.8em; padding:10px; margin-top: 10px;" href="#">Testemunhos</a></li>
<li><a style="font-size:0.8em; padding:10px; margin-top: 10px;" href="#">Triagem</a></li>
<li><a style="font-size:0.8em; padding:10px; margin-top: 10px;" href="#">Comunidade Evangélica</a></li>
<li><a style="font-size:0.8em; padding:10px; margin-top: 10px;" href="#">Fale Conosco</a></li>
</div><!--/.nav-collapse -->
</div>
</nav>
I didn’t understand very well, how so two lines? You decide which items will be in the top row and the bottom?
– Randrade
Exact, manually, not automatically, according to screen size.
– Hebert Richard Masseno Dias
Example: http://imgur.com/a/q5F40
– Hebert Richard Masseno Dias
Cannot place within sub-categories in a dropdown?
– Marcelo
Well I wanted to, but the client is irreducible. If I do not find a solution, I will have to suggest something different.
– Hebert Richard Masseno Dias
In my navbar do not want to give at all, send me your result please...
– Lucas Gonçalves