I'm trying to find the Login button CSS code.

I tryed this topic, but i think the path has changed after wordpress updated:


Any can show me where is it? Thank you


The CSS comes from wp-includes/css/buttons.css. Do not change this this file; it will be overridden during the next update. Create a separate plugin instead, or add some custom code to your theme’s functions.php, and hook into login_head:

add_action( 'login_head', function() {
.button {
    background: red !important;

enter image description here

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.