Tagged: menu
- This topic has 4 replies, 2 voices, and was last updated 12 years, 1 month ago by jwidder.
-
AuthorPosts
-
October 10, 2012 at 12:45 am #1133jwidderMember
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
October 11, 2012 at 7:18 pm #1167SakinKeymasterCan you send me your site URL and then I will check on it.
October 11, 2012 at 7:25 pm #1168jwidderMemberHi,
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.
October 11, 2012 at 7:36 pm #1169SakinKeymasterYou 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.
October 11, 2012 at 9:46 pm #1170jwidderMemberThank you! It works, great!
-
AuthorPosts
- The topic ‘Current Menu Item’ is closed to new replies.