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

XF 1.4 If signature is to big it gets a scroll down!?

Discussion in 'Styling and Customization Questions' started by Heavy, Apr 7, 2015.

  1. Heavy

    Heavy Active Member

    Hi xenForo,

    My users is now using toooo big signatures, so i want like vbulletin that if it's too big its getting a "scroll down"

    I want to do so that you can not have bigger signatures than 150 pixels in height and 500 pixels in width.

    But if you have it, you get a "scroll down"/ "scroll bar" on your signature - as vBulletin

    Example: http://forum.ragezone.com/f197/anti-ddos-vs-firewall-free-993975/ (Scroll down until you see a reply by "MU Online SEA" and look at his signature)

    Thanks so much!!!

    Regards
     
  2. rainmotorsports

    rainmotorsports Well-Known Member

    Set a max height and max width to the signature div or container and set the overflow to allow it to scroll.
     
  3. Heavy

    Heavy Active Member

    How, what template etc..?
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    Try adding something like this to EXTRA.css:

    Code:
    .message .signature {
    max-height: 100px;
    overflow-y: auto !important;
    }
    Change the values to suit.
     
    maszd and Heavy like this.
  5. Heavy

    Heavy Active Member

    Thank you Brogan! :)

    This really helped me ;)
     

Share This Page