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

XF 1.4 User ranks alignments issues on profile page

#1
I'm having some issues with getting the user ranks into the place I want them to be, I want them to be to the left but they are currently centered.



This issue is because I put this code into EXTRA.css, but if I were to take it out then the postbit with the user rank will not be centered. (hope that makes sense what I mean!)

Code:
.admin {
  margin-left: auto;
  margin-right: auto;
display: block;
}
Is there a way to change just the user rank on the profile? Thanks! :)
 
Last edited:

Dylan V

Well-known member
#2
Hello,

Try to put that in "EXTRA.css":
Code:
.admin
{
    float: left;
}
If a div is associated with "margin: 0 auto", it will automatically be placed in the middle.
 
#3
Hello,

Try to put that in "EXTRA.css":
Code:
.admin
{
    float: left;
}
If a div is associated with "margin: 0 auto", it will automatically be placed in the middle.
Hi thanks for the reply! :)

I did add it but it seems to conflict with the above code and doesn't center it on the thread view