Skip to content Skip to sidebar Skip to footer

Why Is Right-aligned Text In My Navbar Shifted Too Far To The Right?

I try to display some text at the right side of a navbar. The docs state that such text must be inside a p tag and the classes navbar-text and navbar-right should be applied to thi

Solution 1:

This happens because of a bug, that was introduced in Bootstrap 3.3.0. There is already an issue as well as a pull request at GitHub.

Solution 2:

If you want some spacing from right. You need to set padding-right: 20px or as you need on this class http://prntscr.com/6fde9s or if you don't want right text just stack left to nav you need to remove this class http://prntscr.com/6fdeid if its not work you need set float:left !important on .navbar-text

Post a Comment for "Why Is Right-aligned Text In My Navbar Shifted Too Far To The Right?"