[resolved] Keeping a hover state of a graphic horizontal nav, based on the page url? (2 posts)

  1. culturalelite
    Posted 9 years ago #


    i'm having a little problem with my graphic navigation on my site...


    The top horizontal nav (the tabs) I want to make the hover state of the tabs active if you're on that page. So if you're in 'Work' (the homepage) the tabs 'Work' will be in a constant rollover state.

    Because wordpress is all template driven Is the only way to do this with php?

    so a piece of php that basically checks the url of the page you're on then adjusts the hover state of the nav accordingly.

    hope that made sense. Any help would be appreciated.


  2. BPartch
    Posted 9 years ago #


    Check out this link and see if it helps: http://codex.wordpress.org/Dynamic_Menu_Highlighting

    If you have more questions, just ask. :)

Topic Closed

This topic has been closed to new replies.

About this Topic