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

How to center username and group title

Brogan

XenForo moderator
Staff member
#2
Add this to EXTRA.css
Code:
.messageUserBlock h3.userText {
text-align: center;
}

Or you can do it in Style Properties -> Message Layout -> User Info Block and add text-align: center; to the Miscellaneous field.
 

majesty95

Active member
#3
Add this to EXTRA.css
Code:
.messageUserBlock h3.userText {
text-align: center;
}

Or you can do it in Style Properties -> Message Layout -> User Info Block and add text-align: center; to the Miscellaneous field.
I did this and it only centers the user title, not the username. How can I do both?
 

Amaury

Well-known member
#5
@majesty95, you can actually do this with a style property: Style Properties > Message Layout > User Text Block

Put in text-align: center; in the large miscellaneous field.
 

majesty95

Active member
#8
Have another question. How do a set a parameter for how wide this bar will be? It looks fine on the sidebar but everywhere else it is stretched...

User title.png

Lastly, I have the premium user group set to allow a custom user title. But if a mod has premium access, the mod bad gets overridden by the custom user title. How can I fix that as well?