Tagged: 

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1133
    jwidder
    Member

    Hi Sakin,

    I have another question: the simple catch themes highlights the current menu items using “current-page-item”. However, if the current menu item is connected to a category (in my case, my blog) this menu item is no highlighted like that. Is there a chance to change “current-page-item” into “current-menu-item”, so that all current menu items are highlighted? I tried to simply replace it, but that didn’t work.

    Best wishes,

    Jonathan

    #1167
    Sakin
    Keymaster

    Can you send me your site URL and then I will check on it.

    #1168
    jwidder
    Member

    Hi,

    thank you, but so far I’m only testing the site on my local computer. I will send the link as soon as it’s online.

    #1169
    Sakin
    Keymaster

    You can add the following css in your “Custom CSS” in Theme Options under Appearance Tab:

    #header #mainmenu ul li a:hover,
    #header #mainmenu ul li.current-menu-item a,
    #header #mainmenu ul li.current_page_item a,
    #header #mainmenu ul li.current-menu-parent a,
    #header #mainmenu ul li:hover > a {
    background-color: #444;
    color: #fff;
    }

    I will add this in version update. Thanks a lot.

    #1170
    jwidder
    Member

    Thank you! It works, great!

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Current Menu Item’ is closed to new replies.