The Arcive of vBulletin Modifications Site. |
|
Change Thread Title Color for Specific Forums on Homepage Details »»
|
|||||||||||||||||||||||||||
|
Change Thread Title Color for Specific Forums on Homepage
Developer Last Online: Jan 2018
This modification will allow you to change the color of the thread titles for specific forums on your forumhome in the last post by areas.
This mod is done via one simple template edit. STEP 1 - Find the forumhome_lastpostby template via edit templates > Forum Home Templates. STEP 2 - Find the code below Code:
<a href="{vb:link thread, {vb:raw threadinfo}, {vb:raw pageinfo_lastpost}}#post{vb:raw lastpostinfo.lastpostid}"><img src="{vb:stylevar imgdir_button}/lastpost-{vb:stylevar right}.png" alt="{vb:rawphrase go_to_last_post}" /></a>
Code:
<vb:if condition="$forum[forumid] == XXX"> <font color="#XXXXXX"> </vb:if> Code:
<vb:if condition="$forum[forumid] == XXX"> </font> </vb:if> Replace XXXXXX with the hex code for the color you want the thread title colors to be. If you have multiple forums you want to change the thread title colors for on the homepage, simply stack additional vb:if conditions above and below just like above for each forum you want to change. Like follows Find the code below Code:
<a href="{vb:link thread, {vb:raw threadinfo}, {vb:raw pageinfo_lastpost}}#post{vb:raw lastpostinfo.lastpostid}"><img src="{vb:stylevar imgdir_button}/lastpost-{vb:stylevar right}.png" alt="{vb:rawphrase go_to_last_post}" /></a>
Code:
<vb:if condition="$forum[forumid] == XXX"> <font color="#XXXXXX"> </vb:if> <vb:if condition="$forum[forumid] == XXX"> <font color="#XXXXXX"> </vb:if> <vb:if condition="$forum[forumid] == XXX"> <font color="#XXXXXX"> </vb:if> Code:
<vb:if condition="$forum[forumid] == XXX"> </font> </vb:if> <vb:if condition="$forum[forumid] == XXX"> </font> </vb:if> <vb:if condition="$forum[forumid] == XXX"> </font> </vb:if> [Postbit-Legacy Hack] Attractive User Info Boxes for Posts Link Private Forums to thread instead of error message Sidebar Anywhere Enhancement - Custom Blocks Per Forum or Page Change Background Color for Specific Forums on Homepage Change Title Color of Specific Forums on Homepage Thread Starter Image in Postbit for OP CUSTOM BUTTONS that look like your forum! Custom User Rank Box in Posts Show Your Support
|
|||||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
lets try
|
|
#3
|
|||
|
|||
|
Not working with vb 4.2.3 :/
|
|
#4
|
|||
|
|||
|
Add this code to additional.css and it will change the background color of the header, the topic title, and the topic description
Simply add the forum ID and colors ![]() Example: Code:
#cat374 .forumhead {
background: #2491BF !important;
}
#cat374 .forumbit_post .forumtitle a {
color: #2491BF !important;
}
#cat374 .forumbit_post .forumdescription {
color: #373737 !important;
}
|
![]() |
|
|