MyBB Community Forums

Full Version: Control Sig Size
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
We need a way to control the sig height and width. I tried one tutorial on here from 8 years ago and it worked well on sigs but also placed a 150px blank space under every member without a sig. Anyone using anything that works?
You could set a max height for the signature block in theme CSS...like:

.signature {
    max-height: 150px;
    max-width: 100%;
    overflow: hidden;
}
Unfortunately MyBB doesn't have a good image size checker by default. You could set a 1Gb image file in your signature which would kill pages from loading. I made custom alterations to check image size in both dimensions and file size.