WordPress.org

Ready to get started?Download WordPress

Forums

Current category styling (2 posts)

  1. BlankFile
    Member
    Posted 2 years ago #

    Hello friends !!

    Well, I need one thing.
    In the header, I have a menu of categories displayed. What's the problem ? I want to give a different background to any category when it's selected. I know that with li.cat-item-11 you can give style to that category, but always. What I need is when I select a current category, this category shows their unique background.

    After that, I need also to put an image in the content of one category. The idea is, to click in: START and inside of start, there's an image, but did by categories.

    Thanks !

  2. alchymyth
    Forum Moderator
    Posted 2 years ago #

    lok at the css class output of current category menu items:

    http://codex.wordpress.org/Template_Tags/wp_list_categories#Markup_and_Styling_of_Category_Lists

    or use Firebug http://getfirebug.com/ to identify the involved css selectors

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.