No matter what I try, I can\'t center something in Bootstrap navbar, any solutions for it?
I\'ve tried adding a div, using margin:0 auto; or marg
margin:0 auto;
marg
make new style
.container { position: relative; } .center-nav { position: absolute; left: 0; right: 0; margin: 0 auto; width: auto; max-width: 200px; text-align: center; } .center-nav li{ text-align: center; width:100%; }
Replace website name UL with below
Website Name
Hope this helps..