MyBB Community Forums

Full Version: I can't get my last post entries to align left
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi!

I can't get my last post entries to align left (see attached image). It's aligned left in my template:


<tr>
<td class="{$bgcolor}" align="center" valign="top" width="1"><span class="forum_status forum_{$lightbulb['folder']} ajax_mark_read" title="{$lightbulb['altonoff']}" id="mark_read_{$forum['fid']}"></span></td>
<td class="{$bgcolor}" valign="top">
<strong><a href="{$forum_url}">{$forum['name']}</a></strong>{$forum_viewers_text}<div class="smalltext">{$forum['description']}{$modlist}{$subforums}</div>
</td>
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap"></td>
<td class="{$bgcolor}" valign="top" align="left" style="padding-right: 20px; width: 70px;">
  <i style="font-size: 14px;" class="fa fa-file-text fa-fw" title="Threads"></i>&nbsp;{$threads}{$unapproved['unapproved_threads']}
  <br />
  <i style="font-size: 14px;" class="fa fa-comments fa-fw" title="Posts"></i>&nbsp;{$posts}{$unapproved['unapproved_posts']}</td>
<td class="{$bgcolor}" valign="top" align="left" style="width: 200px;">{$lastpost}</td>
</tr>

Can anyone tell me how to fix this, please?

Here's the site: http://baytowntalkforum.com. I'm using the Square Theme if that helps.

Thanks,
D
You need to reduce the padding-right and/or width of the thread and post count column.


Quote:padding-right: 20px; width: 70px;
(2017-03-06, 05:39 AM)YoshiOlly Wrote: [ -> ]You need to reduce the padding-right and/or width of the thread and post count column.


Quote:padding-right: 20px; width: 70px;

That did it! Thanks!
(2017-03-06, 05:46 AM)dastaten Wrote: [ -> ]
(2017-03-06, 05:39 AM)YoshiOlly Wrote: [ -> ]You need to reduce the padding-right and/or width of the thread and post count column.


Quote:padding-right: 20px; width: 70px;

That did it! Thanks!

No problem Smile