Add Admin CSS
Ever want to tweak the appearance of the WordPress admin pages by hiding stuff, moving stuff around, changing fonts, colors, sizes, etc? Any modification you may want to do with CSS can easily be done via this plugin. Using this plugin you’ll easily be able to define additional CSS (inline and/or fi
About this tool.
Ever want to tweak the appearance of the WordPress admin pages by hiding stuff, moving stuff around, changing fonts, colors, sizes, etc? Any modification you may want to do with CSS can easily be done via this plugin.
Using this plugin you’ll easily be able to define additional CSS (inline and/or files by URL) to be added to all administration pages. Hooks are provided to customize the output of the CSS, the CSS files, and if/when the CSS should even be output (see Hooks section).
Links: Plugin Homepage | Plugin Directory Page | GitHub | Author Homepage
Developer Documentation
Developer documentation can be found in DEVELOPER-DOCS.md . That documentation covers the hooks provided by the plugin.
As an overview, these are the hooks provided by the plugin:
- c2c_add_admin_css : Filter to customize the CSS that should be added directly to the admin page head.
- c2c_add_admin_css_files : Filter to customize the list of CSS files to enqueue in the admin.
- c2c_add_admin_css_disable_css : Filter to customize if the CSS defined via this plugin should be output or not.
A closer look.
Getting started.
- 01Install via the built-in WordPress plugin installer. Or install the plugin code inside the plugins directory for your site (typically /wp-content/plugins/ ).
- 02Activate the plugin through the ‘Plugins’ admin menu in WordPress
- 03Go to “Appearance” -> “Admin CSS” and specify some CSS to be added into all admin pages. (You can also use the “Settings” link in the plugin’s entry on the admin “Plugins” page).
Frequently asked questions.
Can I add CSS I defined via a file, or one that is hosted elsewhere?
Yes, via the “Admin CSS Files” input field on the plugin’s settings page.
Can I limit what admin pages the CSS gets output on?
By default, the CSS is added for every admin page on the site and for every user.