Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save deepak-rajpal/5531691 to your computer and use it in GitHub Desktop.
Save deepak-rajpal/5531691 to your computer and use it in GitHub Desktop.
Issue: WordPress Menu Child are also highlighted if current page is parent. WordPress Menu's submenu highlight selection issue:
/* Highlight/underline only direct anchor of class current_page_item */
#nav1 li.current_page_item>a { text-decoration:underline; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment