Jump to content
Sign in to follow this  
szool

drop-down color change (continued)

Recommended Posts

szool

Herman Buhrig said 2 hours ago This worked when you mouseover a menu subitem, but not when you mouseover the main nav. See what I mean here, http://citizenmediagroup.com and compare to the nav at the top of this forum page. I'd like my main nav to also go blue on the mouse-over, and whatever page I am on to hold that gray color exactly like this forum does at the top of the screen. Thanks!!! Hey Stefano, You can try adding the following to the end of custom css code in theme options: #nav ul.dropdown li.menuhover ul a:hover{ background: #3BB9FF; color: #fff; } The background setting will change the grey to what you set and the color attribute will change text color. Have a play about with these two settings till you find something you're comfortable with. You can find some color codes here: http://www.computerhope.com/htmcolor.htm

Share this post


Link to post
Share on other sites
wp101

Hey Herman, Try also adding this:

#nav ul.dropdown li.menuhover > a{
		background: blue;
	        color:#fff;
	}
#nav ul.dropdown ul li a:hover, #nav ul.dropdown li.current_page_ancestor ul a:hover, #nav ul.dropdown li.current_page_item ul a:hover,
	 #nav ul.dropdown ul li.current_page_ancestor a, #nav ul.dropdown ul li.current_page_item a, #nav ul.dropdown ul li.current_page_item a:hover, #nav ul.dropdown ul li.current_page_ancestor a:hover, #nav ul.dropdown ul li ul li.current_page_item a{
		background: blue;
	        color:#fff;
	}

Share this post


Link to post
Share on other sites
szool

excellent. one final part though... how do I change the color that indicates the page I am viewing.... note how the menu item will depress to indicate "this is the page you are on". How do I turn that blue as well? And how can I apply this to the sub-nav?

Share this post


Link to post
Share on other sites
cmunns

It looks like you got this figured out?

Share this post


Link to post
Share on other sites
szool

yes I did :-) just marked this as "resolved". Thanks!!!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×