Home » Website Tips » How to Add CSS to Admin Page WordPress

How to Add CSS to Admin Page WordPress

It is quite easy to add CSS to admin page WordPress. All you need to get access to your functions.php file. Add put the following code in there and you are good. Plain simple huh??

How to Add CSS to Admin Page WordPress


add_action('admin_head', 'my_custom_admin_page_css');
function my_custom_admin_page_css() {
echo '<style>
/* Your CSS will go here */
body{
font-size: 15px;
}
</style>';
}

 

Real People. Real Support.

Over 98% of our customers describe our customer support as "GREAT".

We pride ourselves on doing everything we can to give you a prompt, efficient and excellent service. We've got your back.

Clients Around The World
"I'm addicted to Wordpress themes like a crackhead"
WpMania.Net WordPress Theme & Support
5

First of all, I have a couple of the WPMania themes, and I absolutely LOVE them! They look freaking beautiful & work perfectly. I’m addicted to WordPress themes like a crackhead, and I believe these are some of my favorite. The responsive features alone make them well worth it. Then they add shortcodes, customizations, and a bunch of other stuff that set these themes far above a lot of the competition.