Is it possible to use different colors for category strips in your forum home to separate parts of your forum by color?
Separate category strip colors in forum home?
Collapse
X
-
Tags: None
-
With a little edit of the forumhome_forumbit_level1_nopost template.
Find at the top:
Code:<td class="tcat" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>">
Code:<td class="<if condition="in_array($forumid, array(6,10))">tcat_$forumid<else />tcat</if>" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>">
In the main CSS, in the Additional CSS block at the bottom add the following:
.tcat_6 {
background: #333377;
}
.tcat_10 {
background: #773377;
}
Each number represents your Cat number in the Array. You will need to add styling for the text colors and anchors. But basically the above is all you need to do. You can even add a different background image for each category using this as well. Tested and it works. -
You will need to add styling for the text colors and anchors. But basically the above is all you need to do. You can even add a different background image for each category using this as wellComment
-
The template edit: Styles & Templates -> Style Manager -> Edit Templates (from the drop down) -> Forum Home Templates -> Forum Home -> forumhome_forumbit_level1_nopost
For the CSS: Styles & Templates -> Style Manager -> Main CSS (from the drop down). Then scroll to the very bottom to the Additional CSS box.Comment
-
How is the same achieved in vB4?Retro Amiga gaming. Come visit us as http://www.classicamiga.comComment
Related Topics
Collapse
-
by andyleightonI want to tighten up the category headings on the home page, such as remove the grey shading above the categories <colspan> and tighten up the distance between category headings.
Ideally I...-
Channel: Support Issues & Questions
-
-
by Aros12I am trying to use multiple images in my primary module subheader backgrounds as I have multiple categories that need their own specific imagery. Also, when I click into a sub forum, the subheader backgrounds...2 Photos
-
Channel: Support Issues & Questions
-
Comment