Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
WordPress Custom Login CSS file
body.login {
background: #242628; }
.login h1 {
background-color: transparent; }
.login h1 a {
background-image: url("../logo.png"); /* Change Me to the correct path to your logo */
-webkit-background-size: 100px 100px;
background-size: 100px 100px;
width: 100px;
height: 100px;
margin-bottom: 0;
padding-bottom: 10px;
padding-top: 10px;
background-position: center; }
.login form {
margin-top: 0;
-webkit-box-shadow: none;
box-shadow: none;
background-color: transparent; }
.login form input[type=text], .login form input[type=password] {
margin-top: 10px;
font-size: 16px;
padding: 15px;
-webkit-box-shadow: none;
box-shadow: none;
color: #888; }
.login p.forgetmenot, .login #login_error, .login p#backtoblog, .login p#nav {
display: none; }
.login #wp-submit {
margin-top: 10px;
float: none;
width: 100%;
height: 45px;
border: 0;
border-radius: 0;
-webkit-box-shadow: none;
box-shadow: none;
background-color: #d41343;
text-transform: uppercase; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment