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

148
Vistas
Navbar moves up the page when clicking on navbar link

Beginner web developer here, looking for how to fix this strange bug.

I downloaded this Bootstrap tutoring website (https://bootstraplily.com/free-tutor-website-template-made-with-bootstrap/#google_vignette).

After filling out the href for the about us link:

<li class="nav-item"> <a class="nav-link" href="#aboutUs">About Us</a> </li>

and adding the corresponding id

<div id="aboutUs" class="container py-5">

, I noticed that the navbar moves up the page (see the position of the scroll bar in this screenshot) once I click on the elements in the navbar. How do I stop this / why is this happening?

about 4 years ago · Juan Pablo Isaza
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