Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

190
Vistas
Bootstrap hamburger menu when menu contains too many menu items

Bootstrap has this feature of collapsing menu items in the navbar to a hamburger menu when certain window size breakpoints are reached. However, I sometimes find that even on bigger size screens that wouldn't trigger this responsive hamburger button behaviour (because they are well beyond the breakpoint), the hamburger button should appear when the navbar gets too full (i.e. when there are too many menu items).

Is there a way to accomplish this, preferably built-in, or with css/html only or minimal JS effort? Has anyone tried this before and can share code and experiences?

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

So I am somewhat shooting in the dark on this answer but I think I understand. The Bootstrap Docs provide examples and the Navbar example is a good resource to see the flexibility and responsive classes that are available.

  • Bootstrap 4.6 Navbar Example
  • Bootstrap 5.0 Navbar Example

Aside from the .navbar-expand-lg classes, Bootstrap doesn't have the native functionality to know when to collapse or not.

Maybe these JavaScript solutions that I have may inspire.

  • Carousel style horizontal navbar
  • jQuery Custom scrollbar plugin: Demo
about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda