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

These themes rock and the support is excellent! Thank you, Sabbir!!