mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-15 20:12:05 +01:00
Highlight the current menu item and ancestors, not current menu item and children. See #17748
git-svn-id: http://svn.automattic.com/wordpress/trunk@18285 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
e627a9a57a
commit
96ece73df6
@ -612,7 +612,8 @@ a:hover {
|
|||||||
#access ul li:hover > ul {
|
#access ul li:hover > ul {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
#access .current_page_item a {
|
#access .current_page_item > a,
|
||||||
|
#access .current_page_ancestor > a {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user