• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.2 center login bar tab

Adam Howard

Well-known member
So I'm trying to find some css code or the proper template to edit so I can center the login bar tab.

www.sociallyuncensored.eu 2013-9-29 22 20 59.png

I think I read somewhere you can do it via the style properties, but I'd much prefer to use css code or edit a template since XenForo does not keep track of out of date style properties. And be honest, it's a lot easier for me to debug and track down should something in the future change.

So anyone know how to center this?
Last edited:

Steve F

Well-known member
Just looking at it quickly

#loginBar #loginBarHandle
        margin-right: 0 !important;
        right: 45% !important;
50% isn't quite center for whatever reason, didn't dig much into it though.