Announcement

Collapse
No announcement yet.

Separate category strip colors in forum home?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Separate category strip colors in forum home?

    Is it possible to use different colors for category strips in your forum home to separate parts of your forum by color?

  • #2
    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>">
    replace with:

    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 array above, place your Category ID numbers. To find them just mouseover each category name on forum home.

    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.

    Comment


    • #3
      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
      Accomplished the other stuff I think, but where do I make the above changes

      Comment


      • #4
        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


        • #5
          How is the same achieved in vB4?
          Retro Amiga gaming. Come visit us as http://www.classicamiga.com

          Comment

          Related Topics

          Collapse

          Working...
          X