MyBB Community Forums

Full Version: Align avatars in a solid way
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
OK, the need is the mother of inventions, they say. While asking for help, I discovered myself how to make sure the avatars don't show up in a mess.

If you don't appreciate MyBB's default method of displaying the classic layout:

[attachment=26282]

Open template "postbit_classic" and replace

<td class="{$altbg}" width="15%px" valign="top" style="white-space: nowrap; text-align: center;"><a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>

with a fixed pixel limit in accordance with the size for avatars you have defined in the Admin CP:

<td class="{$altbg}" width="210px" valign="top" style="white-space: nowrap; text-align: center;"><a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>

Problem solved!