followed by an element with a .nav-link class: Remove the .navbar-expand-xl|lg|md|sm class to create a vertical navigation bar: Add the .justify-content-center class to If you want to report an error, or if you want to make a suggestion, do not hesitate to send us an e-mail: W3Schools is optimized for learning and training. the top: Use the .fixed-bottom class to make the navbar stay at The space area on … This Bootstrap 4 navbar is a template with a center align. Note: Bootstrap 4 Basic Template. bg-light justify-content-center">,