Forums

Current-cat really works? (5 posts)

  1. sylvioros
    Member
    Posted 3 years ago #

    I can't highlight the current category on my blog. I hope you can help me.

    My css:
    #header li.current-cat a {
    font-variant:normal;
    background-color:#fb7c3e;
    color: #FFF;
    }
    Menu:
    /*
    <div class="nav">

    >ul>

    >li> <?php wp_list_cats('sort_column=name'); ?>>/li>

    >/ul>

    </div>
    </div>
    */

  2. esmi
    Theme Diva & Forum Moderator
    Posted 3 years ago #

    A link to your site would help.

  3. sylvioros
    Member
    Posted 3 years ago #

  4. esmi
    Theme Diva & Forum Moderator
    Posted 3 years ago #

    Your CSS above looks fine but you may be placing it too high in style.css. Try adding it to the very end of the file.

  5. sylvioros
    Member
    Posted 3 years ago #

    Guess what? I changed the class' position and works! It seems that the problem was THAT position, because I tried put in the top, in the bottom and somewhere in the middle, all works!

    Thanks esmi!

Topic Closed

This topic has been closed to new replies.

About this Topic