i am now using:
.header_color .main_menu ul:first-child > li.current-menu-item > a, .header_color .main_menu ul:first-child > li.current_page_item > a {
color: #ee008c
}
which works great when u are in main section… however if u are in a sub section – can u make the parent page menu highlight to same color?
now it defaults to black
thanks
jaz
Hey Jaz!
Add .current-menu-parent class to the selector:
.header_color .main_menu ul:first-child > li.current-menu-item > a, .header_color .main_menu ul:first-child > li.current_page_item > a , .header_color .main_menu ul:first-child > li.current-menu-parent > a {
color: #ee008c
}
Cheers!
Josue
hmm i tried that but it doesn’t work… it’s the same as before..?
Hi!
It does, for example, here i am in FAQ which is a children of Expertise:
Cheers!
Josue
thanks! it’s working..
Glad we could help. Let us know if you have any other questions or issues :)
Regards,
Josue