Forums

parent and child pages (5 posts)

  1. g_sula
    Member
    Posted 2 years ago #

    I use this code <?php wp_list_pages('sort_column=menu_order&depth=2&title_li='); ?> to show child pages, but there is one problem: the child pages are shown permanently under their parent page but I'd like them to appear when rollover and disappear when rollout the parent menu.

    has anyone any advice?
    thanks in advance

  2. davidandre
    Member
    Posted 2 years ago #

    Hi g_sula,
    i think an easy way would be to use css with a{visibility:hidden}
    and a:hover{text-decoration,font-size,color....}

    i am sure there is an other way but this one should work

  3. g_sula
    Member
    Posted 2 years ago #

    Where Should I put this style? I cannot find css concerning child categories in styles.

  4. davidandre
    Member
    Posted 2 years ago #

    check this plugin: wp-dTree;
    might help

  5. g_sula
    Member
    Posted 2 years ago #

    I'd like subpage buttons in header menus to appear when rollover and disappear when rollout the parent page button.
    With wp-dTree I didn't get what I want. Is there any other ways to do it?

Topic Closed

This topic has been closed to new replies.

About this Topic