Skip to content

Instantly share code, notes, and snippets.

@conor-egan
Created January 15, 2014 10:04
Show Gist options
  • Save conor-egan/8433750 to your computer and use it in GitHub Desktop.
Save conor-egan/8433750 to your computer and use it in GitHub Desktop.
Adds the class news_page_parent to the <li> with the given class
<script>
jQuery(document).ready(function($){
$("li.menu-item-171").addClass("news_page_parent");
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment