Vanilla open source was terminated 1 January 2025 by Higher Logic. See this announcement for more information.

Category add background color

DogHamDogHam
edited April 2013 in Vanilla 2.0 - 2.8

Hello,

I wanted to change my category background color in /categories/all

When I view the source code with google chrome, I can change the background, but the subcategory will change too. And that's what I don't want!

How can I add a background or change font color?

I'm using Vanillapress 2010 theme.

The documentation doesn't help me.

Comments

  • UnderDogUnderDog MVP
    edited April 2013

    If you are in /categories/all/ look in your html source. You will see the following body:

    < body id="vanilla_categories_all" class="Vanilla Categories all  Section-CategoryList" >

    Don't know if it's the same for the VanillaPress theme, but it is for vf.org
    Now, which color do you want to apply to which element? and which subcategories do you want to get which color? (CSS class names and Id's will help)

    There was an error rendering this rich post.

  • Hi, thank you for answer.

    I think, they are just links... you can look at "http://moneytalkforum.org/board/index.php?p=/index.php&p=/categories/all"

    I set as homepage categories & discussions, but it's showing only discussions.

  • This will affect the title links in the category page

    .DataList a.Title {
    display: block;
    margin: 0;
    font-size: 14px;
    font-weight: bold;
    padding: 9px;
    background:your-color;
    color:your font-color;
    }
    
Sign In or Register to comment.