XF 2.2 Limit The Signature Display Area

orex

Member
We recently moved from vb and we have this template edit where we set the signature to 500x200px to prevent oversized signatures and have uniform size.
That applies to the entire signature space not just the image. So even if there's no image in the signature and just text, anything that exceeded 500x200px will not be displayed in postbit and profile. How do we apply the same thing here in xenforo? Below is the template edit we used.

<div class="signaturecontainer" style="width: 500px; height: 200px; overflow:hidden;">{vb:raw post.signature}</div>
 

l3ta

Well-known member
Put the following code in the extra.less template of your style and see if it works:

.message-signature { max-width: 500px; max-height: 200px; }
 
Top