Skip to content

Instantly share code, notes, and snippets.

@ingozoell
Created July 5, 2017 11:37
Show Gist options
  • Save ingozoell/f55a7f07ebf946087e592281882d73b2 to your computer and use it in GitHub Desktop.
Save ingozoell/f55a7f07ebf946087e592281882d73b2 to your computer and use it in GitHub Desktop.
Add Custom CSS to the WordPress Admin https://jonbellah.com/add-custom-css-wordpress-admin/
function my_custom_admin_styles() {
?>
<style type="text/css">
.your-custom-css {
height: 300px;
overflow: scroll;
border: 1px solid #ddd;
padding: 15px;
}
</style>
<?php
}
add_action('admin_head', 'my_custom_admin_styles');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment