WordPress.org

Ready to get started?Download WordPress

Forums

Help with simple submenu (7 posts)

  1. agressli
    Member
    Posted 5 years ago #

    I want to make a simple submenu. I've used this as a starter

    I have a horizontal menu, and under that the submenus will show when clicking on one of the parent pages. but I also go to the parent page. F.ex; I start on index.php, I then click "About" (parent page), it loads the whole "about" page, with the submenu.
    But I want to still remain on the index-page but with the About-submenu.
    I guess it's possible with some hidden divs and such, but I want to be able to rearrange the menu without fixing in the header all the time, if you understand what I mean.

    I also want to show the a own current-class in the main menu _and_ the submenu.
    F.ex;

    About (current)
    --Me
    --The Page (current)
    --The project

    is it possible?

  2. agressli
    Member
    Posted 5 years ago #

    no one?

  3. Roy
    Member
    Posted 5 years ago #

    ?
    Don't know, but maybe there's something you can work with. Otherwise look for parent/child dropdowns.

  4. agressli
    Member
    Posted 5 years ago #

    the only problem is i don't want a dropdown menu ;O
    I want a main menu, and the submenu under the main menu, when clicking on parents with children..

    but thanks anyway (:

  5. Roy
    Member
    Posted 5 years ago #

    I have a category widget (Extended Categories) that has parent/child categories and I can display it as a dropdown or not. Perhaps the code of it can bring some inspiration.

  6. agressli
    Member
    Posted 5 years ago #

    I don't think it's necessary..

    the menu works fine, but I don't want to go to the parentpage before the submenu displays. i'm sure there is someone out there who got that function..

    Grid Focus - (here is a demo) click at the "archives" link, and you'll understand better what I mean (:

  7. agressli
    Member
    Posted 5 years ago #

    the only "problem" with the grid focus-menu is that I have to manually go into header.php and edit the menu, I can't just add a page and it'll appair in the menu, it's the same problem with both parents and childs..

    doesn't anybody have a solution?

Topic Closed

This topic has been closed to new replies.

About this Topic