I am looking to set the a:active color for each of my main menu items. I have already set a:hover for each menu item, and it is working perfectly for both the top level navigation item, and sub menu items.
ex:
#menu-item-5369 a:hover { color:#db1534 }
When I try to set a:active, like so: #menu-item-5369 a:active { color:#db1534 }
it does not work.
I know how to set the active color for all menu items, but not specifically for each set (each main and sub menu items all distinct, active colors).
Hopefully that makes sense.
Hi murphy88!
Please try it as following
.header_color .main_menu ul:first-child > li#menu-item-5369.current-menu-item > a, .header_color .main_menu ul:first-child > li#menu-item-5369.current_page_item > a { color: red; }
Cheers!
Yigit
Yigit,
Thanks for the quick response, but no luck. Set color as !important as well with no change.
I will include the link to the dev site in a following private post.
Thanks again for your help!
Hey!
It seems to be working fine on my end http://i.imgur.com/zVVK8V0.jpg
Please flush browsers cache and refresh your page a few times
Cheers!
Yigit
Yes, it ended up working. Had to restart my browser. Thank you!
Also — What would be the equivalent for sub-menu items?