Hi guys please help me to limit user signature to 468x60 without plugin!
I say this tutorial please help me to make it work!
{$post['signature']}
Replace it with:
PHP Code:
<span class="signature">{$post['signature']}</span>
Open up global.css or showthread.css and add:
Code:
.signature {
height:60px;
overflow:scroll;
}
admin panel >> templates >> active theme templates >> Post Bit Templates >>
postbit_signature -->
find
{$post['signature']} replace with
<span class="signature">{$post['signature']}</span> and save the template
Open
global.css or
showthread.css in advanced edit mode and add the given code at bottom & save style sheet
.signature {
height: 60px;
overflow: scroll;
}
(2013-06-25, 02:39 PM).m. Wrote: [ -> ]admin panel >> templates >> active theme templates >> Post Bit Templates >> postbit_signature -->
find {$post['signature']} replace with <span class="signature">{$post['signature']}</span> and save the template
Open global.css or showthread.css in advanced edit mode and add the given code at bottom & save style sheet
.signature {
height: 60px;
overflow: scroll;
}
Hi thanks very much friend listen can I use this:
.signature {
height: 60px;
wight: 468px;
}
you can use code like below
.signature {
height: 60px;
width: 468px;
overflow: scroll;
}
(2013-06-25, 02:51 PM).m. Wrote: [ -> ]you can use code like below
.signature {
height: 60px;
width: 468px;
overflow: scroll;
}
Its an option but having a scrollbar within your signature is horrible. You can also use max width & height:
.signature {
max-height: 60px;
max-width: 468px;
}
(2013-06-25, 03:03 PM)Jambuster Wrote: [ -> ] (2013-06-25, 02:51 PM).m. Wrote: [ -> ]you can use code like below
.signature {
height: 60px;
width: 468px;
overflow: scroll;
}
Its an option but having a scrollbar within your signature is horrible. You can also use max width & height:
.signature {
max-height: 60px;
max-width: 468px;
}
Very Dear Friend Thanks very much