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

message_user_info - Moving fields onto same line as label?

Coop1979

Well-known member
#1
Does anyone know how I can change message_user_info so that "Message Count" and "1,234" are on the same line without a carriage return?

I tried this, but then the # of posts loses it's styling and just looks like the phrase "Message Count".

Code:
<dl class="pairsInline">
<dt>{xen:phrase member_since}: {xen:date $user.register_date}</dt>
</dl>
 

Chris D

XenForo developer
Staff member
#2
Code:
<dl class="pairsInline">
<dt style="display: inline;">{xen:phrase member_since}:</dt>
<dd style="display: inline;">{xen:date $user.register_date}</dd>
</dl>
If it's just that one piece of info you want like that, then the above will achieve it.

Alternatively, we can add something in EXTRA.css to make it a global change for all elements in the message_user_info.
 

Coop1979

Well-known member
#3
I do want it to be a global change (with text continued on the next line if it extends too far). How can I make that happen?
 

Chris D

XenForo developer
Staff member
#4
Code:
.messageUserBlock .extraUserInfo dt
{
display: inline!important;
}
 
.pairsInline dd
{
display: inline!important;
}
Add that code to Extra.css :)