Skip to content

Instantly share code, notes, and snippets.

@ericnkatz
Last active August 29, 2015 14:04
Show Gist options
  • Save ericnkatz/aa06eb2962d7fe1e889d to your computer and use it in GitHub Desktop.
Save ericnkatz/aa06eb2962d7fe1e889d to your computer and use it in GitHub Desktop.
Change "Lost Your Password" to "Forgot Your Password". - CSS Option.
<?php
function login_styling() {
?>
<style type="text/css">
#nav > a {
visibility:hidden;
display:block;
text-align:right;
}
#nav > a:after {
content:'Forgot Your Password';
visibility:visible;
}
#backtoblog {
text-align:right;
}
</style>
<?php
}
add_action( 'login_enqueue_scripts', 'login_styling' );
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment