Plugin Contributor
Libin
(@libinvbabu)
Hello Michael,
Looks like WordPress recently started adding a box-shadow
to the buttons and input fields.
The CSS you need to fix this is:
.login form .input, .login input[type=text], .wp-core-ui .button-primary:focus {
box-shadow: none !important;
}
wp-login page won’t accept css from your theme style.css. You have to add it as custom function to your functions.php
file
Forgive me for asking but I’m quite new to WordPress and kind of learning as I go. I tried adding the code you gave with the My Custom Functions plugin and it said “sorry, but your code causes a fatal error, so it’s not applied!”
Can you point me in the right direction as to how exactly I can do this? I really appreciate the help!
Plugin Contributor
Libin
(@libinvbabu)
It’s a bit tricky way to add this as a function. I will tell you an easy way to fix this by editing my plugin. But remember, these changes you make will get deleted when you update the plugin next time. So keep a back-up of this changes.
Goto Dashboard->Plugins->Editor
Select Erident Custom Login and Dashboard
from the dropdown menu.
Now er-custom-login.php
file should be open. Search for </style>
and place the above code before that </style>
tag.
Hit Update File button.
Let me know if this works or not.
Thank you for the info. I tried it but unfortunately it did not work.
Plugin Contributor
Libin
(@libinvbabu)
Would you mind giving me your dashboard access? If yes, email me: libin at libin.in
I have sent email, you should receive it shortly. Thank you again!
I just realized I set you up on the wrong website. I’ve sent another email. Sorry!
Plugin Contributor
Libin
(@libinvbabu)
Marking this as resolved as we fixed this over email. Below was the missing code:
body.login #loginform p.submit .button-primary, body.wp-core-ui .button-primary { box-shadow: none; }
It will be great if you give a 5 star rating for the plugin in reviews section.
-
This reply was modified 7 years, 4 months ago by Libin.
Done! Thank you for all your help!
Plugin Contributor
Libin
(@libinvbabu)
These changes are added in the new version of the plugin (3.5.2). So you don’t need to worry about losing any changes while updating to 3.5.2
Go ahead and update the plugin 🙂