Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

151
Views
El menú de hamburguesas móviles cubre los hipervínculos de las páginas y evita que los usuarios hagan clic en ellos

menú móvil cerrado (no se puede hacer clic en los enlaces rosas debido al menú)

 html { overflow-x: initial !important; } /*nav-bar-desktop*/ .mainNav { display: none; } /*nav-bar-mobile*/ .page-header { background: #322759; width: 100%; height: 20%; position: fixed; .logo { position: fixed; width: 35%; margin-top: -28px; margin-left: -40px; } .nav-bar { z-index: -1; } .page-header-links { z-index: 0; } } .nav-bar-mobile { position: relative; display: block; } .nav-bar-mobile button { position: fixed; right: 40px; top: 40px; z-index: 2; cursor: pointer; background: transparent; border: none; } .menuNav { overflow-y: none; list-style: none; top: 0; right: 0; bottom: 0; height: 100vh; width: 0; overflow: hidden; max-width: 414px; text-align: center; } .menuNav.showMenu { width: 100%; right: 0px; height: 100vh; padding-top: 200px; position: fixed; background: #322759; .mobile-nav-monster { position: fixed; left: 0; bottom: 0; width: 65vw; justify-content: flex-start; } } .nav-tabs { padding: 20px; border-bottom: none !important; text-decoration: none; color: #D9D8D8; } .menuNav:link { color: #D9D8D8; } .menuNav:visited { color: #D9D8D8; } .menuNav:active { color: #E87DA6; } .hamburger-close { color: #FFFFFF; width: 40px; height: 40px; margin-top: 10px; transform: scale(1.7); } .hamburger-open { color: #FFFFFF; width: 40px; height: 40px; margin-top: 10px; transform: scale(1.7); } }

Este es mi archivo css que contiene el estilo del menú de hamburguesas móvil. Se puede hacer clic en los enlaces cuando configuro la pantalla: ninguno para la clase de barra de navegación (que es el estilo de la cuadrícula que contiene la barra de navegación) o el menuNav (estilo para el menú de hamburguesas real, tenga en cuenta que es diferente de mainNav que es la versión de escritorio). He estado jugando con el índice z, pero en realidad no afectan nada (suponiendo que esto se deba a que tengo que revisar todas las páginas y convertirlas en un índice z más alto que el menú de hamburguesas), pero me preguntaba si había una solución diferente?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Verifique el estilo de posición y también verifique si ha configurado correctamente el índice z en los elementos. El mayor índice z aparece al frente.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!