XF 1.1 how do you center the log in or sign up tab?

petertdavis

Well-known member
That little "Log in or Sign up" tab that hangs down from the top and pulls down the login/signup when you click it? By default it's right aligned. I was thinking it might work better on my sites to have it centered, because I have a banner right under it. How would I do that?


I'm using 1.1 now, please let me know if this would change after upgrading to 1.2. I'm trying to keep my styles as default as possible to eliminate problems at upgrade time.
 

Tracy Perry

Well-known member
That little "Log in or Sign up" tab that hangs down from the top and pulls down the login/signup when you click it? By default it's right aligned. I was thinking it might work better on my sites to have it centered, because I have a banner right under it. How would I do that?


I'm using 1.1 now, please let me know if this would change after upgrading to 1.2. I'm trying to keep my styles as default as possible to eliminate problems at upgrade time.
Code:
#loginBar #loginBarHandle {
margin-right: 49%;
}
may work.
 

Tracy Perry

Well-known member
Ah i didnt put # and the loginBar. :oops: On my mobile.
Actually, align: center; does not appear to work (at least on the style I am using). You have to use the margin-right. If you do it in just the #loginbar then it ends up screwing a few other style effects up.
 

Matthew Hawley

Well-known member
Actually, align: center; does not appear to work (at least on the style I am using). You have to use the margin-right. If you do it in just the #loginbar then it ends up screwing a few other style effects up.
Really? Didnt know. Well i'll give myself an A for effort.:LOL:
 

Matthew Hawley

Well-known member
A nice method to undertake is if you are unsure make sure what your suggesting you test out on a test forum first. This way the support your giving will work for the user.
I was on my dads android at the moment. Android Browser is a pain.
 
Last edited:
Top