WordPress.org

Support

Support » Themes and Templates » HOW to change the Login Button color?

HOW to change the Login Button color?

Viewing 4 replies - 1 through 4 (of 4 total)
  • If you mean the /mysite.com/wp-admin/

    Then it is using an image, for all buttons:
    (\wp-admin\css\wp-admin.css)

    input.button-primary,
    button.button-primary,
    a.button-primary {
        background: url("../images/button-grad.png") repeat-x scroll left top #21759B;
        border-color: #298CBA;
        color: #FFFFFF;
        font-weight: bold;
        text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
    }

    It is not good to edit the core files as each time you upgrade you loose the changes, so I would look at the plugins and see if you can adapt one of them, or just live with the blue!

    The login button has its own class, so you might be able to chage the plugin code.

    .login .button-primary {
    
    }

    HTH

    David

    THANK …

    but I can’t find the codes U said in wp-admin.css , I’m using WP3.3.

    Anyway thank for your help and suggestion.

    input.button-primary,
    button.button-primary,
    a.button-primary {
    background: url(“../images/button-grad.png”) repeat-x scroll left top #21759B;
    border-color: #298CBA;
    color: #FFFFFF;
    font-weight: bold;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
    }

    Can be button changed through advanced settings (CSS) of plugin? I would like to change button and form of login border…

    Try my Custom Login plugin in the repo: http://wordpress.org/extend/plugins/custom-login/ There is a CSS code box for custom CSS.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘HOW to change the Login Button color?’ is closed to new replies.
Skip to toolbar