Created
June 26, 2017 19:31
-
-
Save iamcanadian1973/2b798a435b3c2f978ad427c72ed41323 to your computer and use it in GitHub Desktop.
Add CSS to admin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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