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
"Highly recommended"
WpMania.Net WordPress Theme & Support
5

These Themes are awesome. Great looks and after spending a little time you get to know how to work with them and can do the second one a lot quicker. Many features and customization’s. Tech support with Sabbir  is great also. I had a few questions and Sabbir was on it within a few hours or less.

Highly recommended