WordPress.org

Support

Support » Plugins and Hacks » Style browse button avatar upload

Style browse button avatar upload

  • emielm
    Participant

    @emielm

    Hi,

    I want to assign a class to the button for uploading an avatar image. Unlike the button for submitting the changes and update the profile, on the bottom of the page, it’s not possible to assign a class to the upload button. Where in the code can I change this class?

    Thanks for your reply in advance!

    http://wordpress.org/extend/plugins/user-meta/

Viewing 1 replies (of 1 total)
  • RonStrilaeff
    Member

    @ronstrilaeff

    The original css is this:

    .qq-upload-button {
        background: none repeat scroll 0 0 #880000;
        border-bottom: 1px solid #DDDDDD;
        color: #FFFFFF;
        display: block;
        padding: 7px 0;
        text-align: center;
        width: 105px;
    }

    and it’s in this file (along with many other things)
    /wp-content/plugins/user-meta/assets/css/jquery/fileuploader.css

    As you probably know, you could override any of those properties you want to change by putting them in your child theme’s style.css.
    for example:

    .qq-upload-button {
        background: none repeat scroll 0 0 #CCDDCC !important;
        color: black !important;
    }

    With a little more finesse, you could also avoid using the brute-force !important statement. Maybe the author will come back and tell us of some built-in way to do that.

Viewing 1 replies (of 1 total)
  • The topic ‘Style browse button avatar upload’ is closed to new replies.