how to make vertical navbar for smaller screen in bootstrap 4 code example Example: bootstrap navbar wider than screen body { overflow-x:hidden; }