Ok, here's how you limit a signature height without a plugin, thereby adding speed and decreasing CPU usage.
Open up your postbit and postbit_classic templates and find:
Replace it with:
Open up global.css or showthread.css and add:
You can customize it like so:
"scroll" will add a scroll-bar to the side so you can see the rest of the sig. You can change "scroll" to "hidden" to just cut the signature off.
Hope you find this tutorial useful.
Open up your postbit and postbit_classic templates and find:
{$post['signature']}
Replace it with:
<span class="signature">{$post['signature']}</span>
Open up global.css or showthread.css and add:
.signature {
height:100px;
overflow:scroll;
}
You can customize it like so:
height:100px;
Change 100px top however large you want it to be.overflow:scroll;
"scroll" will add a scroll-bar to the side so you can see the rest of the sig. You can change "scroll" to "hidden" to just cut the signature off.
Hope you find this tutorial useful.
-Paul H.
Cogisne lingua latina?
Cogisne lingua latina?