The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Change the forum link color
Hey guys!
I'm stuck with the following problem: I want to change in forum-home the background of the Forum-link. To understand me better i'll upload 2 pics: NORMAL: what i want to do : its possible? thanks |
#2
|
|||
|
|||
Anything is possible if you want too. Do you have actual link to forum so we can take a quick look ?
|
#3
|
||||
|
||||
You want to change the background of the forums that are just links? You'll have to edit the template and add a class to the row and then define the class to have a different background color. ie:
<li id="forum{vb:raw forum.forumid}" class="forumbit_post L2 <vb:if condition="$forum['statusicon'] != 'link'">forumlink</vb:if>"> Then define .forumlink {backgroundink;} |
#4
|
|||
|
|||
Quote:
Can you tell me step by step because i'm stuck on adding a class --------------- Added [DATE]1282641907[/DATE] at [TIME]1282641907[/TIME] --------------- Quote:
|
#5
|
||||
|
||||
You just add the CSS to the additional.css template
|
#6
|
|||
|
|||
i put this in additional.css:
.forumlink {background-color:#6495ed;} and: <li id="forum{vb:raw forum.forumid}" class="forumbit_post L2 <vb:if condition="$forum['statusicon'] != 'link'">forumlink</vb:if>"> in forumhome_forumbit_level2_post but is not working |
#7
|
||||
|
||||
Actually, I think it would be "equals" (==), not "not equals" (!=) (I had just copied the condition in there) But, if you had done what you said, then I would expect that you would see something different.
Are you sure you edited the correct template? How about a link to this page on your site. |
#8
|
|||
|
|||
Quote:
--------------- Added [DATE]1282732596[/DATE] at [TIME]1282732596[/TIME] --------------- i put ==, but nothing happend |
#9
|
||||
|
||||
I don't think you changed the correct template. I think that is a nopost template, not a post template. (My post above was an *example* of how to add this to the class, it had nothing to do with which template to change.)
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. (Sometimes the template is the one mentioned at the very top of the page source.) |
#10
|
|||
|
|||
doesnt work in the way you explained
what i notice is if you change : <li class="forumbit_nopost L2" id="cat{vb:raw forum.forumid}"> to <li class="forumlink" id="cat{vb:raw forum.forumid}"> look like this, but i dont like the way the text its: |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|