The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
image only on home Category Strips
hi,
i want to display an image only on the forum homepage cat, not in all the td where i have the class .tcat thanks |
#2
|
|||
|
|||
Insert
Code:
.tcat2 { background: #newcolor url(../../images/gradients/new_image.gif) repeat-x top left; color: #FFFFFF; font: bold 10pt verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; } You might have to change the image path depending on if you have the CSS stored in the filesystem or not. |
#3
|
||||
|
||||
it doesnt work
|
#4
|
|||
|
|||
It does on the Welcome Message, and you're logged in and can't see it.. I just told you the wrong template.
Do the tcat > tcat2 replacement for the forumhome_forumbit_level1_nopost and forumhome_forumbit_level1_nopost templates. It looks like you have the tcat in forumdisplay set up to have an image, too... so you'll need to do the same thing there. Look for the <td class="tcat" .... > around the phrases "$vbphrase[threads_in_forum]" and "$vbphrase[subforums]" and replace it with tcat2. -------------- Oh, well it looks like all your "tcat" classes have a large left padding.. If you're not going to be putting an image in "tcat" you should get rid of the "padding-left:100px" out of the CSS rules. Here's a shot of the only place where it's actually working, in case you don't believe me.. Attachment 66094 |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|