WordPress.org

Ready to get started?Download WordPress

Forums

User Meta
Style browse button avatar upload (2 posts)

  1. emielm
    Member
    Posted 1 year ago #

    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/

  2. RonStrilaeff
    Member
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.