Announcement

Collapse
No announcement yet.

Make Last Post column wider?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Make Last Post column wider?

    On the index I want the Forum column smaller and Last Post column wider.

    How do I do this?
    Group Builder

  • #2
    Admin Control Panel > Styles & Templates > Style Manager > dropdown: Edit Templates > Expand the Forum Home Templates group > Select the template FORUMHOME and open it.

    In the FORUMHOME template, find this code:
    Code:
     <tr align="center">
       <td class="thead">&nbsp;</td>
       <td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
       <td class="thead" width="175">$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>
    And replace it with this code:
    Code:
     <tr align="center">
       <td class="thead" width="35">&nbsp;</td>
       <td class="thead" align="$stylevar[left]">$vbphrase[forum]</td>
       <td class="thead" width="240">$vbphrase[last_post]</td>
       <td class="thead" width="65">$vbphrase[threads]</td>
       <td class="thead" width="65">$vbphrase[posts]</td>
       <if condition="$vboptions['showmoderatorcolumn']">
       <td class="thead" width="125">$vbphrase[moderator]</td>
       </if>
     </tr>
    And save the template.

    We've now removed the width="100%" and we've hardcoded the values for the other columns. You can then change the values of 35,240,65,65 and 125 to the ones you want.

    Comment

    Loading...
    Working...
    X