Skip to content

Instantly share code, notes, and snippets.

@iamcanadian1973
Created June 26, 2017 19:31
Show Gist options
  • Save iamcanadian1973/2b798a435b3c2f978ad427c72ed41323 to your computer and use it in GitHub Desktop.
Save iamcanadian1973/2b798a435b3c2f978ad427c72ed41323 to your computer and use it in GitHub Desktop.
Add CSS to admin
<?php
add_action('admin_head', 'my_custom_styles');
function my_custom_styles() {
echo '<style>
.class-name {
padding: 100px;
}
</style>';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment