Remove labels for extra member info in Avatar block

craigiri

Well-known member
In order to save vertical space, I'd like to remove the extra lines.....or in some cases, put the label on the same line as the info.....
Example - the below would read:
since: Nov. 18, 2005 (or, better yet, since 11/18/2005)
18,600 posts
Northern Virginia (no label needed)

Screen Shot 2012-04-14 at 8.47.48 AM.webp
 
You can edit this template:

Admin CP -> Appearance -> Templates -> message_user_info

For example, remove the red code to remove the "Location" label:

Rich (BB code):
				<xen:if is="@messageShowLocation AND {$user.location}">
					<dl class="pairsInline">
						<dt>{xen:phrase location}:</dt>
						<dd><a href="{xen:link 'misc/location-info', '', 'location={xen:string censor, $user.location, '-'}'}" target="_blank" rel="nofollow" itemprop="address" class="concealed">{xen:string censor, $user.location}</a></dd>
					</dl>
				</xen:if>

To remove the line breaks you can use CSS:

Admin CP -> Appearance -> Templates -> EXTRA.css

Add this code:

Code:
.messageUserInfo .pairsInline dt,
.messageUserInfo .pairsInline dd
{
	display: inline !important;
}
 
Top Bottom