WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How to manage color in a dropdown categories (2 posts)

  1. Gwentrac
    Member
    Posted 1 year ago #

    Hello,

    I would like to manage different color in my dropdown list of categories according to the hiearchy level of each category.I used standard function wp_dropdown_categories.

    Exemple:
    - Sport (blue)
    -- Baseball (green)
    -- Basketball (green)
    -- Soccer (green)
    - Games (blue)
    -- Video games (green)
    -- Chest (green)
    ...

    Best regards,

    Gwen

  2. Gwentrac
    Member
    Posted 1 year ago #

    I used Firebug to identified the css class of each level. Class level-1.

Topic Closed

This topic has been closed to new replies.

About this Topic