bootstrap 5 navbar is not working at small screen code example Example: bootstrap navbar wider than screen body { overflow-x:hidden; }