Skip to:
Content
Pages
Categories
Search
Top
Bottom

WP Menu does not stay active when navigating forums

  • Hi, I was hoping someone could guide me here. On http://www.rutmonkey.com/moto-forums/

    Notice my menu item is highlighted “Dirt Rider Forums”

    Now notice when you click on one of the Forums such as “Test Forum” the menu item is no longer highlighted.

    I added the menu through WP Custom menus and added the “Forums” page to it and renamed it “Dirt Rider Forums”

    Anyone know this fix? I’m guessing some CSS somewhere?

Viewing 1 replies (of 1 total)

  • Lynq
    Participant

    @lynq

    You might have to do a bit of coding on this one, I am not sure.

    When you are on the main url of the forum http://www.rutmonkey.com/moto-forums/ the list item has all of the current_ classes.

    After navigation to any other page it loses those classes, so the css is fine, it’s just the fact that the classes are lost.

    So you would need to do a bit of coding to find out if the current page is a child of /moto-forums/ and then add the class in if it is.

    Good luck!

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.