Advertisement
Guest User

Untitled

a guest
Jun 27th, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.35 KB | None | 0 0
  1. add_action( 'login_head', 'hide_login_nav' );
  2.  
  3. function hide_login_nav()
  4. {
  5.     ?><style>
  6. #backtoblog {
  7.     display:none
  8. }
  9.  
  10. body.login {
  11.     width: 100%;
  12.     display: table;
  13.     background-repeat: no-repeat;
  14.     background-attachment: fixed;
  15.     background-position: center center;
  16.     background-size: cover;
  17.     background-image: url('/wp-content/themes/boss-child/images/login-bg1.jpg') !important;
  18. }
  19.    
  20. .login form {
  21.     margin-top: 0;
  22. }
  23.  
  24. .login form .input{
  25.     background: #ffffff !important;
  26.     color: #000000!important;
  27. }
  28.  
  29.  
  30. .login input[type="text"]{
  31.   background-color: #ffffff;
  32.   border-color:#dddddd;
  33.   -webkit-border-radius: 4px;
  34. }
  35.  
  36. .login input[type="password"]{
  37.   background-color: #ffffff;
  38.   border-color:#dddddd;
  39.   -webkit-border-radius: 4px;
  40. }
  41.  
  42. ::-webkit-input-placeholder {
  43.     color: #000000!important;
  44. }
  45. :-moz-placeholder {
  46.     color: #000000!important;
  47.    opacity:  1;
  48. }
  49. ::-moz-placeholder {
  50.     color: #000000!important;
  51.    opacity:  1;
  52. }
  53. :-ms-input-placeholder {
  54.     color: #000000!important;
  55. }
  56. #login form p.submit input {
  57.     background: #a82923!important;
  58.     color: #FFF!important;
  59.     border: none!important;
  60.     text-shadow: none!important;
  61.      -webkit-border-radius: 4px !important;
  62. }
  63. ::-moz-selection
  64. {
  65.     text-shadow: none!important;
  66. }
  67. ::selection {
  68.     text-shadow: none!important;
  69. }
  70. </style><?php
  71. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement