Style reset password page? /wp-login.php?action=rp

by jockebq   Last Updated October 09, 2019 14:08 PM

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?

Tags : customization

Answers 1

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


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

add_action( 'login_enqueue_scripts', 'login_styles', 10 );
October 09, 2019 14:05 PM

Related Questions

Updated March 28, 2015 08:02 AM

Updated April 10, 2015 19:03 PM

Updated June 03, 2015 22:03 PM

Updated May 05, 2015 21:03 PM