MyBB Community Forums

Full Version: Signatures aren't centering.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
None of the signatures on <snip> are centering. Can someone inspect element some of the information and see if they can find out why?
Post Bit Templates >> postbit_signature

Change

<hr size="1" width="25%"  align="center" />

to

<hr size="1" width="25%"  align="left" />
(2014-02-07, 01:57 AM)marcus123 Wrote: [ -> ]Post Bit Templates >> postbit_signature

Change

<hr size="1" width="25%"  align="center" />

to

<hr size="1" width="25%"  align="left" />

Would that not just change the alignment of the horizontal rule?
The signature is aligned by the user from UCP. You can wrap signature code into align="center" but I don't recommend that because you have to allow users choose the signature position!
(2014-02-07, 02:58 AM)marcus123 Wrote: [ -> ]The signature is aligned by the user from UCP. You can wrap signature code into align="center" but I don't recommend that because you have to allow users choose the signature position!

What I'm saying is they aren't aligning, even if the user adds center align tags. I've tried myself and it doesn't work. Centering only moves the signature to the center of the left half of the page, not the center of the entire page.
Still looking for a fix to this. Sad
Anyone have any idea about this
Open postbit_signature template and:

Change it to this:

<hr size="1" width="25%"  align="center" />
<span style="text-align: center;">{$post['signature']}</span>

Or:

<hr size="1" width="25%"  align="center" />
<span class="signature">{$post['signature']}</span>

Add this code to your Global.css

.signature {
   text-align: center;
}
Hi,

The MyBB group offers support under the conditions of our Support Eligibility policy. It is apparent that one or more of your forums do not meet the conditions of our policy and therefore you are ineligible for support. This could be because of adult, piracy or hacking related content or because your forum does not display the minimum “Powered by MyBB” notice.

If you have any questions regarding this policy please post in the Private Inquiries forum.

Regards,
The MyBB group.