![]() |
Limit signature height via CSS
1 Attachment(s)
This tiny hack will strictly limit signature height. It will take ALL things what the user have in the signature (no matter what is it ... text, image, video, code ... ) and it will crop it based on choosed value.
Original hack was made by Mazinger, but it was a bit outdated and it didn't work for IE7, so there is a newone for vB 4.x :) Installation: Styles & Templates -> Style Manager -> Edit Templates -> edit additional.css add following code: Code:
.signaturecontainer { |
reserved
|
Just what I was looking for! Thank you!!!
|
Worked like a charm in vB 4.x - I tried like 6 plugins from all diff versions....this was so simple
Thanks so much!! |
Perfect! :)
|
Awesome! This will be very helpful. Thanks!
|
Is any possibility of adding a scroll bar to the signature to see if we want the rest of the signature?
Like this old hack: https://vborg.vbsupport.ru/showthrea...gnature+scroll |
2 acast: Yes, just use
Code:
overflow:auto; |
Quote:
|
Thanks for this mod. I opted to use a scrollbar if the signature exceeds the permissable size and to disable the horizontal scroll. Here is the code in case it is useful to anyone else:
Code:
overflow: auto; |
I'm guessing there's no way to make it so opening a spoiler would increase the box automatically, instead of cutting it and using the overflow?
|
Theoretically it shoudn't be a problem. It depends on your specific spoiler tag. Send me a source and i'll try to add a part which will override signature CSS :]
|
Is any possibility to setting this mod for specify usergroup?
|
Worked like a charm
|
Works on 4.2 :) Thank you!
|
4.2 doesnt work nothing seems to happen..i have eTiKeT 2011 Postbit_Legacy installed
|
Any idea what effect this might have on a spoiler bar opened to reveal content larger than the space allowed?
|
Works great with my vb4.1.5
Thank you /bow |
A better alternative, with a scroll bar, would be:
Code:
.signaturecontainer { |
Quote:
|
Quote:
|
Works on v 4.2.2 :) Thank you so much, trying to let our users have freedom with signatures has lead to a nightmare of trying to also keep the size of signatures in check, this is perfect!
Only issue so far is it doesn't seem to work on Firefox. Works on Chrome and Safari, though. I'm using Firefox ESR so that may have something to do with it. I'm trying to find friends who have the regular Firefox to test it and see if it works for them. |
All times are GMT. The time now is 05:52 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|