[Tips] Moving Username Above Avatar.

Nasr

Well-known member
This is a very simple template modification on how to move Username and title above the avatar instead of having it below the avatar.

AdminCP -> Appearance->Templates->message_user_info

Find :

PHP:
<h3 class="userText"><a {xen:if $user.user_id, 'href="{xen:link members, $user}" 'class="username" itemprop="name">{xen:helper richUserName, $user}</a><xen:if hascontent="true"><em class="userTitle" itemprop="title"><xen:contentcheck>{xen:helperuserTitle, $user}</xen:contentcheck></em></xen:if></h3>

and move that right below
HTML:
<div class="messageUserBlock">

in the same template. and you're done.

I tested this and it worked.

Might need to change the arrow color to match. I havent found the variable to change the arrow color. Looking for it and will post here as soon as I can.
 
Back
Top Bottom