3

I cannot figure out how to style the reset password page. And I do not mean the page where you request it, I mean the page you are shown when you click the link in the email to set your new password. The URL is /wp-login.php?action=rp

And looks like this

And the confirmation page:

How do I load my custom styles for these?

1 Answer 1

3

You should use login_enqueue_scripts, you can load styles or scripts with it.

Example:

function login_styles() {
    wp_enqueue_style( 'loginCSS', '/my-styles.css', false ); 
}

add_action( 'login_enqueue_scripts', 'login_styles', 10 );

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.