I'm giving maintenance to a site that was made with Foundation, and I really do not know anything about this framework, because I only work with Bootsrap.
I already looked in the Foundation documentation but found nothing that solved my problem.
Problem
The site has a <ul class="nav-bar">
and within it its li
.
In the browser it looks cool, but when I go to a mobile or tablet screen or any other mobile device, this menu is to the right.
Note:
Changing the size of the browser window on a desktop computer to a very small size also allows you to replicate the problem.
Code:
<ul class="nav-bar">
<li><a href="index.php">Home</a></li>
<li><a href="clinica.php">Clínica</a></li>
<li><a href="hospitais.php">Hospitais</a></li>
<li><a href="equipe.php">Equipe</a></li>
<li><a href="dicas_links.php"> Links</a></li>
<li><a href="localizacao.php">Localização</a></li>
<li><a href="contato.php">Contato</a></li>
</ul>
<ul class="nav-bar pink_menu">
<li class="has-flyout"><a href="home.php">Cirurgia Plástica</a>
<ul class="flyout">
<li><a href="ce_mamas.php">Mamas</a></li>
<li><a href="ce_ccc.php">Cirurgias do Contorno Corporal</a></li>
<li><a href="ce_rf.php">Cirurgias do Rejuvenescimento Facial</a></li>
<li><a href="ce_outras.php">Cirurgia de outras partes da face</a></li>
<li><a href="ce_lc.php">Cirurgias de Lifting Corporal (Cirurgias plásticas do corpo)</a></li>
<li><a href="ce_cc.php">Cirurgias do contorno corporal após grandes perdas de peso</a></li>
<li><a href="ce_homem.php">Cirurgias masculinas</a></li>
<li><a href="ce_reparadoras.php">Cirurgias Reparadoras</a></li>
<li><a href="gestante.php">Gestantes</a></li>
<li><a href="hidrolipoaspiracao.php"> Hidrolipoaspiração</a></li>
</ul>
</li>
<li class="has-flyout"><a href="home.php">Medicina estética </a>
<ul class="flyout">
<li><a href="proc_botox.php">Toxina Botulínica</a></li>
<li><a href="proc_estetico.php">Preenchimento Facial</a></li>
<li><a href="proc_peeling.php">Peelings Químicos</a></li>
<li><a href="proc_dermo.php">Dermoabrasão</a></li>
<li><a href="laser.php">Laser C02</a></li>
<li><a href="skin.php">Skin Booster</a></li>
</ul>
</li>
<li class="has-flyout"><a href="home.php">Procedimentos estéticos</a>
<ul class="flyout">
<li><a href="peel_dmt.php">Peeling de Diamante</a></li>
<li><a href="peel_cri.php">Peeling de Cristal</a></li>
<li><a href="limp_pele.php">Limpeza de Pele</a></li>
<li><a href="depi_laser.php">Depilação à laser </a></li>
<li><a href="dren_linf.php">Drenagem Linfática Manual</a></li>
<li><a href="estrias.php">Tratamento de Estrias</a></li>
<li><a href="vasos.php">Escleroterapia de vasos</a></li>
<li><a href="colageno.php">Máscara de Colágeno</a></li>
</ul>
</li>
</ul>
Question
What is causing this menu behavior and what is the solution for keeping it in place in desktop browsers?