View Full Version : Another Simple Question I'm Sure
TVboardsXcom
03-21-2003, 10:02 PM
This is going to seem really stupid, but...
How on my vBulletin do I make the category names centered?
Thanks! :laugh:
TVboardsXcom
03-21-2003, 10:19 PM
Ok.. I found out how to do it... but... when I did it, the little bar it was on got more thick, like it was longer. Can anyone tell me why?
Chris Gwynne
03-21-2003, 10:38 PM
Nope, I can't :p
Did you center them properly??
Replace all of forumhome_forumbit_level1_nopost to this
<tr id="cat">
<td bgcolor="{ categorybackcolor}" colspan="6"><a href="forumdisplay.php?s=$session[sessionhash]&forumid=$forum[forumid]"><normalfont color="{ categoryfontcolor}"><b>$forum[title]</b></normalfont></a>
<br><smallfont color="{ categoryfontcolor}">$forum[description]</smallfont></td>
</tr>
Replace all of forumhome_forumbit_level2_nopost to this
<tr id="cat">
<td bgcolor="{ categorybackcolor}"><smallfont> </smallfont></td>
<td bgcolor="{ categorybackcolor}" colspan="5">
<a href="forumdisplay.php?s=$session[sessionhash]&forumid=$forum[forumid]"><normalfont color="{ categoryfontcolor}"><b>$forum[title]</b></normalfont></a>
<br><smallfont color="{ categoryfontcolor}">$forum[description]</smallfont></td>
</tr>
TVboardsXcom
03-21-2003, 11:04 PM
OK.. that worked, but now the backgrounds are different then what they originally were.
TVboardsXcom
03-21-2003, 11:05 PM
And I am talking about just the strips that each category is on top of. those BG's.
Chris Gwynne
03-21-2003, 11:08 PM
Yeah, VB.org has parsed the color variables used in the templates. Give me five and I'll fix my above post. :)
Chris Gwynne
03-21-2003, 11:13 PM
Ok they're changed now. Re-copy and paste the code into the mentioned templates. :)
Remember to remove the extra space in the variables { tablebordercolor}
TVboardsXcom
03-21-2003, 11:14 PM
Thank you. It's all fixed now! :)
Chris Gwynne
03-21-2003, 11:22 PM
You're welcome. ;)
Dean C
03-22-2003, 10:06 AM
The best way to do is is to change the <tr id="cat"> to <tr id="cat" align="center" :)
- miSt
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.