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

XF 1.4 How to always show signatures of certain usergroups?

Stuart Wright

Well-known member
#1
So I want our advertiser user groups to always have their signatures shown, even on mobile.
(On the narrowest screen size, there is
Code:
    .Responsive .message .signature
    {
        display: none;
    }
So I thought I'd try to edit the message template to have
HTML:
    <div class="baseHtml signature messageText ugc{xen:if $message.isIgnored, ' ignored'}" <xen:if is="{xen:helper ismemberof, $visitor, 10,13,16}"> style="display: block !important;"</xen:if>><aside>{xen:raw $message.signatureHtml}</aside></div>
but the extra HTML is not appearing. What am I doing wrong, please?
 
Last edited: