Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #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{

    color:#83ad1a;

    }

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

    color:#83ad1a;

    }

    This works fine when clicking through the menu or accessing some subpage directly. However when accessing yourdomain.com, 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.

    #48163

    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 yourdomain.com. This seems to work fine. :)

    #48164

    Glad that you found a solution :)

    #48165

    hi,

    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?

    thanks!

    #48166

    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.

    Regards,

    Devin

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

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