Skip to content

Instantly share code, notes, and snippets.

@rickrduncan
Created January 14, 2014 13:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rickrduncan/8418409 to your computer and use it in GitHub Desktop.
Save rickrduncan/8418409 to your computer and use it in GitHub Desktop.
Remove grunion.css: This will remove the stylesheet used for JetPack's contact form thereby allowing you to write your own styles and not having to resort to using !important all over the place. The code should be placed in your functions.php file.
<?php
//* Do NOT include the opening php tag
//* Remove JetPack's grunion stylesheet used for the contact form
function remove_grunion_style() {
wp_deregister_style('grunion.css');
}
add_action('wp_print_styles', 'remove_grunion_style');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment