The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Alt Category Background Image (One Category)
This is driving me nuts.
I'm trying to change the background gradient for ONE of my categories. I also have the Category Splitting template mod, and I'm editing the forumhome_forumbit_level1_nopost template. Here's my code: Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tbody> <tr> <td <if condition="$forum[forumid] == 36">class="tcatalt"<else />class="tcat"</if> colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>"> <if condition="$childforumbits"> <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a> </if> <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a> <if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if> <if condition="$show['subforums']"><div class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if> </td> </tr> </tbody> <if condition="$childforumbits"> <tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}"> <tr align="center"> <td class="thead" width="35"> </td> <td class="thead" align="$stylevar[left]">$vbphrase[forum]</td> <td class="thead" width="175">$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="120">$vbphrase[moderator]</td> </if> </tr> $childforumbits <tr><td class="thead" style="line-height: 0; padding: 0; margin: 0;" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>"><img src="$vboptions[cleargifurl]" alt="" width="1" height="12" /></td></tr> </tbody> </if> </table> <div style="padding: 0 0 16px 0;"></div> Code:
.tcatalt {background: #224887 url(http://www.teegopher.com/images/gradients/gradient_tcat_tg_alt.jpg) repeat-x top left;} Code:
.tcat { background: #224887 url(http://www.teegopher.com/images/gradients/gradient_tcat_tg.jpg) repeat-x top left; color: #FFFFFF; font: bold 10pt verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;} Thank you for any help... Thanks! |
#2
|
|||
|
|||
I just got a notice of reply, but by the time I got here that reply was gone.
I reverted the Category gradient back to the one I have for the other categories, but I want a gradient that's a totally different color to make it stand out from the rest. Thanks for your reply, I'm sorry it was erased. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|