The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Change The Widths of the Following
I want to change the widths of the following ^^^^ Can someone tell me what I must edit ? I would of searched it but i dont know what its called. =/ |
#2
|
||||
|
||||
You need to edit the template to add in the width. There is an article over on vb.com in the Tips & Tricks forum on how to do this. Or, find the template and edit it yourself.
To find the template to modify, do this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. |
#3
|
|||
|
|||
In template forumhome > forumhome_forumbit_level1_nopost
Find <td class="thead">$vbphrase[threads]</td> Replace with <td class="thead" width="XXpx">$vbphrase[threads]</td> Find <td class="thead">$vbphrase[posts]</td> Replace with <td class="thead" width="XXpx">$vbphrase[posts]</td> Replace XX with desired value. My best guess is that the current width value for "Threads" is around 25px and for "Posts" around 20px. However, if the columns are aligned by the column title "Thread" and "Posts". If you decide to reduce the size, "Thread" and "Posts" will be wrapped and its not very aesthetic. However, you can change the font size of "Thread" and "Posts" and then shrink the column width. Let me know if it works! |
#4
|
|||
|
|||
Quote:
That didn't work =/ |
#5
|
|||
|
|||
Aiight, I just tested and
Find <td class="thead">$vbphrase[threads]</td> Replace with <td class="thead" width="XX%">$vbphrase[threads]</td> Find <td class="thead">$vbphrase[posts]</td> Replace with <td class="thead" width="XX%">$vbphrase[posts]</td> Should work now. You also have to change the ones above those such as $vbphrase[forum] and $vbphrase[last_post]. If you put 1%, the column will shrink until theres no space between the word and the borders. So nope, you can't shrink the columns anymore according to the picture, but can increase the width. |
#6
|
||||
|
||||
Quote:
|
#7
|
|||
|
|||
<td class="thead"> $vbphrase[posts] </td>
Easy way to do it.. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|