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

XF 1.1 Resize Signatures

Discussion in 'XenForo Questions and Support' started by redwolf6, Aug 18, 2012.

  1. redwolf6

    redwolf6 Member


    I want all my member's signatures to be 500 * 100 how is it possible to achieve that?

  2. Chris D

    Chris D XenForo Developer Staff Member

    If it's images you're talking about then in EXTRA.css you can add the following:
    .message .signature img
    max-width: 500px;​
    max-height: 100px;​



    Breixo and redwolf6 like this.
  3. redwolf6

    redwolf6 Member

    Thanks a lot for your help :)

    But the width seems so small right?

    BTW, do you know how to add smilies? I downloaded smilies from here but I don't know where to upload them and how to add them in the admin panel.
  4. Chris D

    Chris D XenForo Developer Staff Member

    It maintains the aspect ratio and the sizes are relative.

    You may want to only include:

    .message .signature img
    max-width: 500px;​
    So if you have an image which is 1000 x 500px it will be resized to 500px x 250px. Whereas in my original example it would be scaled down to 200 x 100px.

    EDIT: Smileys... no not sure. Never installed any myself. Was there no instructions with the smiley pack itself?
    redwolf6 likes this.
  5. redwolf6

    redwolf6 Member

    Very good post. Thanks a lot.

    No just smilies..they said I have to upload them to smilies directory and I am still new to XF :D
  6. CritiKiL

    CritiKiL Active Member

    What about when a person has multiple images in the sig area? This only works for just one image but I have a 5-piece image that requires 5 independent files which make up just one sig and with this code in, it does not resize any of the files but only if there's just one file in the sig box. Any ideas on how to make all 5 files small within the same area which makes up one full sig? Here are examples (using 'this code') of how the files are ignored because of there being more than one file in the sig box area...

    This is with more than one file:


    And this is with just one file:


Share This Page