Navigation bar staying visible

  • ruthlammers
  • Auteur du sujet
  • Hors Ligne
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 5 ans 1 mois #7434 par ruthlammers
Navigation bar staying visible a été créé par ruthlammers
Good morning,

Is there an easy way to make the top navigation bar staying visible if you scroll down the page?

Thanks!

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 5 ans 1 mois #7452 par simonbarne
Réponse de simonbarne sur le sujet Navigation bar staying visible
If you're referring to the navigation bar in the Bootstrap Template, then adding this style to the main page (in Styles under Optional Properties) seems to work:
Code:
#topnav { position: sticky; }

Connexion ou Créer un compte pour participer à la conversation.

  • ruthlammers
  • Auteur du sujet
  • Hors Ligne
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 5 ans 1 mois #7454 par ruthlammers
Réponse de ruthlammers sur le sujet Navigation bar staying visible
Thank you for your help! I was indeed referring to the bootstrap template, sorry for not being clear. This code didn't exactly work for me but it brought me the idea of the 'sticky' element, and with that I could dig further on the internet and solve the problem. Thanks again!

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 5 ans 1 mois - il y a 5 ans 1 mois #7455 par simonbarne
Réponse de simonbarne sur le sujet Navigation bar staying visible
Example of it working here .
Dernière édition: il y a 5 ans 1 mois par simonbarne.

Connexion ou Créer un compte pour participer à la conversation.

Modérateurs: ronmalimcn
Temps de génération de la page : 0.137 secondes
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo