parent tab stays lit when in child page?

Forums Forums Menus parent tab stays lit when in child page?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1196
    booobooo
    Member

    I’m using the excellent multi-level navigation plug in and i have a question. Can I do the the following:

    Let’s say I have  a page and subpages like this:
    MAIN
    -ABOUT
    -BIO

    GALLERY
    -CURRENT
    -PAST
    -UPCOMING

    Now let’s say that I style my menu so that when I’m on the GALLERY page the "gallery" button on my menu has a certain background that makes it look like a nice dark tab. Now let’s say I click on CURRENT in the dropdown menu. I want GALLERY to remain highlighted when I’m in CURRENT and any of the tother GALLERY child pages to indicate that I’m in that section. Is there any way to style that? I currently use the current_page_item class to style the section you’re in but that doesn’t respect the parent page. Thoughts? It would be a cool feature, that’s for sure…

    #7616

    For WordPress pages, you can use .current_page_parent

    #7617
    booobooo
    Member

    How did I miss that? Thanks!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.