Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Page & Category Menu Bars »

[SOLVED] highlight current menu item w/out highlighting children if parent is selecte


 
Prev Previous Post   Next Post Next
  #1  
Old Sep 24, 2011, 12:05 PM
tnandrick
 
43 posts · Nov 2010
[SOLVED] highlight current menu item w/out highlighting children if parent is selecte

Hi JD --

I've looked over your thread w/the menu cheat sheet (Awesome!)

What I would like to do is have the current menu item selected. My current CSS inserts:

Code:
#menu2 ul.rMenu li a:link, 
#menu2 ul.rMenu li a:visited,  
#menu2 ul.rMenu li a:active, 
#menu2 ul.rMenu li {
	background: #d20909 !important;
	color: #000000 !important;
}

#menu2 ul.rMenu li a:hover,
#menu2 ul.rMenu li.current-menu-item a  {
	background: #aa0707 !important;
	color: #f0f000 !important;
}
Yes, I am using the WP menu system, a mixed bag of categories, pages, and posts within the menu. The current CSS works great for a subpage of a menu item. However, if you select the "top-level/parent" menu item, all subpages are also highlighted. Is there a way around this?

Site: http://bit.ly/oVCv9q
ATA 3.6.7
WP 3.2.1

Thanks in advance
 

Bookmarks

Tags
css inserts, menu 2, selected links



Similar Threads
Thread Thread Starter Forum Replies Last Post
Lower case children and Bold current item deuxetoiles Sidebars & Widgets 10 Jun 13, 2011 11:30 AM
[SOLVED] Getting children to stay as children when parent is hidden SkeanDhude Page & Category Menu Bars 6 Jan 31, 2011 04:58 AM
Page menu: highlight a parent as current, even when on a subpage andd Page & Category Menu Bars 0 May 16, 2010 05:52 AM
category menu lists everything when item is selected. ramapoughnative Page & Category Menu Bars 3 Jul 21, 2009 03:44 AM
Color of children of current page in menu BradBrown Page & Category Menu Bars 0 Mar 22, 2009 02:38 PM


All times are GMT -6. The time now is 10:14 AM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.