customization - Latest update broke my custom login CSS

After updating to WP 5.3 I am having trouble removing the border that was added on the login page.I have managed to rem

After updating to WP 5.3 I am having trouble removing the border that was added on the login page. I have managed to remove it everywhere, except when I am entering the wrong password/account name, I am displayed with part of the default styling, but when inspecting the page the CSS path and names are still the same, but my custom CSS is not applied here? Is this because of the shaking that uses javascript to shake the login box, which causes the CSS to be removed?

First image shows the login page styled correctly, and second image shows after the error. You can se a border around it, and the wrong styling on the Password box:

After updating to WP 5.3 I am having trouble removing the border that was added on the login page. I have managed to remove it everywhere, except when I am entering the wrong password/account name, I am displayed with part of the default styling, but when inspecting the page the CSS path and names are still the same, but my custom CSS is not applied here? Is this because of the shaking that uses javascript to shake the login box, which causes the CSS to be removed?

First image shows the login page styled correctly, and second image shows after the error. You can se a border around it, and the wrong styling on the Password box:

Share Improve this question asked Nov 26, 2019 at 12:06 jockebqjockebq 4631 gold badge6 silver badges18 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

I would recommend submitting a link to your login page so we can look at it directly, but from your screenshot, it looks like an outline has been added.

I would recommend adding a CSS rule that removes the outline. See below as an example of the CSS you can use; however, you will need to adjust the selector to fit your site.

.login_container{
   outline: 0 !important;
}

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744962574a4603478.html

相关推荐

  • customization - Latest update broke my custom login CSS

    After updating to WP 5.3 I am having trouble removing the border that was added on the login page.I have managed to rem

    1天前
    20

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信