Skip to content

Instantly share code, notes, and snippets.

@paulburgess
Last active August 29, 2015 14:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save paulburgess/2d2dd6f210de543f4a2c to your computer and use it in GitHub Desktop.
Save paulburgess/2d2dd6f210de543f4a2c to your computer and use it in GitHub Desktop.
CSS overrides for a custom Wordpress login screen. Replace images as needed. Couple with: https://gist.github.com/paulburgess/f657ab10e221b986f4f3
body.login {
background: #FFF !important;
}
#login {
padding: 4% 0 0 !important;
}
#login h1 {
margin-left: 5px !important;
text-align: center;
}
#login h1 a {
background-image: url("../img/holding-logo.png") !important;
background-repeat: no-repeat !important;
-webkit-background-size: 200px auto;
background-size: 200px auto;
width:200px !important;
height: 68px !important;
background: none;
display: block;
margin:0 auto;
}
.login form {
box-shadow: inherit;
border-top:1px #CCC dotted;
border-bottom:1px #CCC dotted;
}
.wp-core-ui .button-primary {
border:0 !important;
background: #333 !important;
}
.wp-core-ui .button-primary:hover {
border: 0 !important;
background: green !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment