Forums

Show Sub-categories with Hover "CSS" (4 posts)

  1. Dlaythem
    Member
    Posted 7 months ago #

    Hello there,

    i have Some categories and sub-categories under

    i displayed the categories with the function : wp_list_categories(), and it's working great

    the problem is : when i HOVER a category i want to show the sub-categories in a list

    is there a way to do that ?!

    Thanks and sorry for the english :D

  2. alchymyth
    The Sweeper
    Posted 7 months ago #

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

    wp_list_categories() should output a nested unordered list as long as the 'hierarchical' parameter is 'true';

    styling the unordered list as dropdown is a css problem and not a wordpress problem.

    websearch for 'css style unordered list horizontal dropdown' should get you links to online instructions.

  3. Dlaythem
    Member
    Posted 7 months ago #

    Not Working :(

  4. alchymyth
    The Sweeper
    Posted 7 months ago #

    if you post a link to your site with the problem, someone might have a look at it and might be able to check why it is not working.

    it might also help if you could paste the full code of the template with the category navigation into a http://pastebin.com/ and post the link to it here.

Reply

You must log in to post.

About this Topic