Skip to content

How To Add Custom CSS To WordPress Login Page

Want to customize your WordPress’ login page? I have already shared a lot of tutorials to customize your WordPress’ login page. Today, I’ll show you how to add custom CSS to WordPress login page.

It’s really easy! That’s the same way we added a custom logo to WordPress login page. Just add following code to your current theme’s functions.php file:

function tp_login_css() {
        echo '<style type="text/css">
            //YOUR CSS Code Here

add_action('login_head', 'tp_login_css');

Add your CSS code in the third line of the above code.

Leave a Reply

Your email address will not be published. Required fields are marked *