The Arcive of vBulletin Modifications Site. |
|
Control signatures height per pixel with CSS Details »»
|
|||||||||||||||||||||||||||||
|
Control signatures height per pixel with CSS
Developer Last Online: Feb 2019
This mod will help you determine a fixed height for signatures in posts with CSS to prevent members from having a large annoying signature. (it will cut from the signature and hide the rest of it) - screenshot attached.
Long signatures and signatures with alot of images will not be an issuse anymore! INSTALLATION EDIT postbit OR postbit_legacy (which you use) and search for: HTML Code:
$post[signature] HTML Code:
<div class="fixedsig">$post[signature]</div> HTML Code:
.fixedsig {
max-height:250px;
height:expression((document.documentElement.clientHeight) > 250? "250px" : "100%");
overflow:hidden;
}
And you're done! SUPPORT Please click Mark as Installed if you want to get support for this mod. Screenshots
Show Your Support
|
|||||||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Great idea. I going to check this out.
|
|
#3
|
|||
|
|||
|
Awesome.
|
|
#4
|
||||
|
||||
|
If you have installed it, then click Mark as Installed please.
|
|
#5
|
|||
|
|||
|
Just finished installing it, works perfectly and very easy to install. Thanks.
|
|
#6
|
|||
|
|||
|
Thanks!!! It works!
![]() I needed a code to modify the width of the signature. So with your permission I have adapted to modify the code in height and width. Here it is. Example with 800x300px. HTML Code:
.fixedsig {
max-width:800px;
width:expression((document.documentElement.clientWidth) > 800? "800px" : "100%");
overflow:hidden;
max-height:300px;
height:expression((document.documentElement.clientHeight) > 300? "300px" : "100%"); }
|
|
#7
|
||||
|
||||
|
Well, I could add a width control too, but I decided to leave it to image resize mods; they would give better results for width control.
|
|
#8
|
|||
|
|||
|
I have the ncode image resizer installed but don't work in signatures images. I think the best way to have a well-organized forum
.I have users who have reached 1,200px width pictures in signatures ![]() And vBulletin can only limit the size of attached images, not the bbcodes. Anyway, thanks again :up: |
|
#9
|
|||
|
|||
|
Great one Ill try this later!
|
|
#10
|
|||
|
|||
|
Hi I am new to vbulletin.. where do I go to make this edit.. thanks
|
![]() |
|
|