XF 1.5 Can't get usernames centered in post bit

iamjudd

Active member
#1


In my EXTRA.css I have:
.messageUserBlock h3.userText { text-align: center; }
.messageUserBlock a.username { text-align: center; }

And I had even tried text-align: center; under Message Elements -> Author User Name

As you can see the title is center but that darn username won't budge.
 

Amaury

Well-known member
#5
Style Properties > Message Layout > User Text Block

Add test-align: center;

Style Properties > Message Elements > Author User Name

Remove the display: inline-block;
 
Last edited:

iamjudd

Active member
#6
Style Properties > Message Layout > User Test Block

Add test-align: center;

Style Properties > Message Elements > Author User Name

Remove the display: inline-block;
that didn't seem to work unfortunately :/

Must be something odd with the theme as I have never had this issue.
 
Last edited:

Brogan

XenForo moderator
Staff member
#7
You will need to contact the style designer for support with it, as they may be doing something different to the default code, which we are unaware of.
 
Top