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??

[wpm_post_image id=”1″]


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>';
}

Over 100,000+ Readers
Get fresh content from TallyThemes.Com
Dr. Sabbir | WordPress expert | Kajabi Expert
About The Author
Dr. Sabbir is a seasoned front-end software engineer, WordPress expert, and web consultant with more than 12 years of experience in the tech industry. Despite earning a medical degree from Rajshahi Medical University, he pursued his true passion—web development. Over the years, Dr. Sabbir has crafted user-friendly websites and applications across multiple industries, leveraging his expertise in a variety of programming languages to enhance user experiences and create seamless digital solutions.
Hey, let's take your website to the next level!
Sign up today to unlock exclusive launch-day discounts to accelerate your site's growth. You'll receive insider tips on optimizing your WordPress experience, along with expert strategies for boosting conversions and maintaining a secure, high-performance site.
CAPTCHA

© 2024 WpMania.Net, a Rapid Website Design company. All rights reserved.