I add this under the marker span in the avatar div.What things you can't figure out? Have you figured out how to add the post count?
<xen:if is="@messageShowMessageCount AND {$user.user_id}">
<span class="avatarMessageCount"><a href="{xen:link search/member, '', 'user_id={$user.user_id}'}" class="concealed Tooltip" title="{xen:phrase messages}" data-offsetX="-10" data-offsetY="-8" rel="nofollow">{xen:number $user.message_count}</a></span>
</xen:if>
span.avatarMessageCount
{
background: @primaryLightest;
border: 1px solid @primaryLighter;
position: absolute;
bottom: 15px;
right: 15px;
padding: 2px 2px 0 1px;
border-radius: 2px;
}
<xen:if is="@enableResponsive">
@media (max-width:@maxResponsiveNarrowWidth)
{
span.avatarMessageCount
{
bottom: 10px;
right: 10px;
}
}
</xen:if>

InterestedIf you are interested in hiding it unless the user block is hovered I can give that CSS as well![]()
Hello @Steve F would be nice share that nice cssIf you are interested in hiding it unless the user block is hovered I can give that CSS as well
View attachment 85676
Hello @Steve F would be nice share that nice cssThank you.
<xen:if is="!{$isQuickReply} AND {$user.user_id}">
<span class="avatarMessageCount"><a href="{xen:link search/member, '', 'user_id={$user.user_id}'}" class="concealed Tooltip" title="{xen:phrase messages}" data-offsetX="-10" data-offsetY="-8" rel="nofollow">{xen:number $user.message_count}</a></span>
</xen:if>
/* Hover messageUserBlock to display */
.messageUserBlock:hover span.avatarMessageCount
{
opacity: 1;
}
span.avatarMessageCount
{
background: @primaryLightest;
border: 1px solid @primaryLighter;
font-size: 11px;
padding: 0px 2px;
position: absolute;
bottom: 15px;
right: 15px;
opacity: 0;
transition: all ease-in-out 0.5s;
border-radius: 2px;
}
<xen:if is="@enableResponsive">
@media (max-width:@maxResponsiveNarrowWidth)
{
span.avatarMessageCount
{
bottom: 10px;
right: 10px;
opacity: 1;
}
}
</xen:if>
We use essential cookies to make this site work, and optional cookies to enhance your experience.