PDA

View Full Version : Auto-center signatures?


Sp32
06-06-2009, 09:48 AM
Hi how can I automatically center peoples signatures for a certain style?

IdanB
06-06-2009, 09:52 AM
open admincp, specific the style you wish to change.
There should be 2 templates:
"postbit" & "postbit_legacy".
In it, look for this block:

<if condition="$post['signature']">
<!-- sig -->
<div>
__________________<br />
$post[signature]
</div>
<!-- / sig -->
</if>


and replace with:


<if condition="$post['signature']">
<!-- sig -->
<div align="center">
__________________<br />
$post[signature]
</div>
<!-- / sig -->
</if>

Sp32
06-06-2009, 11:01 AM
Thank you very much! - Worked like a charm

I edited the posts like that too!