Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • #4924

    Hey there,

    I found a post about highlighting menu items from Kriesi at Themeforest.

    Basically, the following code in custom.css makes the magic happen:

    #top #header .current-menu-item>a{



    #top #header .current-menu-ancestor>a{



    This works fine when clicking through the menu or accessing some subpage directly. However when accessing, no menu item is being highlighted. I’d like to achieve the frontpage to be highlighted. In this case it is still the demo setup so Frontpage Example is a child of Home.

    Is there any way to do this?

    Many thanks in advance.


    Hmm, it seems I found kind of a workaround.

    In Appearance -> Menus, I have deleted Frontpage Example and the Home category and then readded them as custom menu items linking to This seems to work fine. :)


    Glad that you found a solution :)



    i am trying to achieve exactly what lukas is describing, but cannot see how his solution should work.

    is there another way to achieve the highlighting of the home-category when clicking the logo or entering the site?



    Hi wenzerl,

    I believe what he did was re-add those links as custom items so that they are recognized by the css as being top level items when being viewed. I’m not really sure of another way to do it.



Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘Main Menu Highlighting’ is closed to new replies.