PDA

View Full Version : Columns not aligned


james trevel
05-27-2009, 08:51 PM
How do I make my forums columns align with each other. Particularly the "Last Post" column.

http://easycaptures.com/fs/uploaded/247/thumbs/6276989828_b.jpg

UKBusinessLive
05-27-2009, 08:58 PM
How do I make my forums columns align with each other. Particularly the "Last Post" column.


This problem has been about for ages and there are a variety of fixes, i'll see if i can find a few for you.

The problem is when you seperate the forum categories by way of a gap.

Will post here when i find it :up:

Heres my fix, i knew it was somewhere :D

Works fine with latest version, I'm using 3.7.4. had problems with wonky forums and nothing lining up, Played around with all these template edits, got no where, The answer was staring me right in the face

Goto AdminCP> vbulletin options> Forum Listings Display Options> scroll down> find> Last Thread Title Maximum Displayed Characters > set to 20 and save...

Now works a treat, thought i'd share it here

Let me know how you got on, There are other methods and template edits

james trevel
05-27-2009, 09:30 PM
Didn't work. It shrunk the columns width, but didn't align it back up.

Seven Skins
05-27-2009, 10:10 PM
Find in forumhome/forumdispaly/forumhome_forumbit_level1_nopost .. depending on style:

<tr align="center">
<td class="thead">&nbsp;</td>
<td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="thead">$vbphrase[last_post]</td>
<td class="thead">$vbphrase[threads]</td>
<td class="thead">$vbphrase[posts]</td>
<if condition="$vboptions['showmoderatorcolumn']">
<td class="thead">$vbphrase[moderator]</td>
</if>
</tr>

Replace it with:

<tr align="center">
<td class="thead">&nbsp;</td>
<td class="thead" width="60%" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="thead" width="20%">$vbphrase[last_post]</td>
<td class="thead" width="10%">$vbphrase[threads]</td>
<td class="thead" width="10%">$vbphrase[posts]</td>
<if condition="$vboptions['showmoderatorcolumn']">
<td class="thead">$vbphrase[moderator]</td>
</if>
</tr>



Adjust the width according to your need, make sure the width add upto 100%

.

forum4
05-28-2009, 06:49 PM
Thanks so much for this fix. I hadn't even noticed they were off so much till I found this thread.

I will make the fix as once you notice it, it really does get annoying.

Actually, my code was already like that.

I did change the character count though and is a bit better.