How do I make the Last Post column wider?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kau
    Senior Member
    • Jul 2002
    • 772

    How do I make the Last Post column wider?

    Topic says it all. Can't find the setting, probably really simple just overlooking it.
    Group Builder
  • Jake Bunce
    Senior Member
    • Dec 2000
    • 46598
    • 3.6.x

    #2
    If you are talking about the column in the forum listing, go to your:

    Admin CP -> Styles & Templates -> Style Manager -> « » -> Forum Home Templates -> FORUMHOME

    Find this code and change the red 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="[color=red]175[/color]">$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 go to your:

    Admin CP -> Styles & Templates -> Style Manager -> « » -> Forum Display Templates -> FORUMDISPLAY

    Make the same change:

    Code:
    	<tr align="center">
    	  <td class="thead">&nbsp;</td>
    	  <td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
    	  <td class="thead" width="[color=red]175[/color]">$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>
    If you are talking about the column in the thread listing, go to your:

    Admin CP -> Styles & Templates -> Style Manager -> « » -> Forum Display Templates -> FORUMDISPLAY

    Find this code and change the red code:

    Code:
    <tr>
    	<if condition="$show['threadicons']">
    		<td class="thead" colspan="2">&nbsp;</td>
    	<else />
    		<td class="thead">&nbsp;</td>
    	</if>	
    	<td class="thead" width="100%">
    		<if condition="$show['threadratings']"><span style="float:$stylevar[right]"><a href="$sorturl&amp;order=desc&amp;sort=voteavg">$vbphrase[rating]</a> $sortarrow[voteavg]</span></if>
    		<a href="$sorturl&amp;order=asc&amp;sort=title">$vbphrase[thread]</a> $sortarrow[title] /
    		<a href="$sorturl&amp;order=asc&amp;sort=postusername">$vbphrase[thread_starter]</a> $sortarrow[postusername]
    	</td>
    	<td class="thead" width="[color=red]150[/color]" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&amp;order=desc&amp;sort=lastpost">$vbphrase[last_post]</a> $sortarrow[lastpost]</span></td>
    	<td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&amp;order=desc&amp;sort=replycount">$vbphrase[replies]</a> $sortarrow[replycount]</span></td>
    	<td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&amp;order=desc&amp;sort=views">$vbphrase[views]</a> $sortarrow[views]</span></td>
    </tr>

    Comment

    • kau
      Senior Member
      • Jul 2002
      • 772

      #3
      Thanks. I tried changing it to 300 and nothing happened. I changed both templates as well.
      Group Builder

      Comment

      • Jake Bunce
        Senior Member
        • Dec 2000
        • 46598
        • 3.6.x

        #4
        Are you talking about the forum listing or thread listing?

        If you are talking about the forum listing, see this thread. You need to account for 100% of the horrizontal space when using percents, otherwise they all need to be fixed values. You can use the same method on the thread listing.

        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...