The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

User Meta
Style browse button avatar upload (2 posts)

  1. emielm
    Posted 3 years ago #


    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!


  2. RonStrilaeff
    Posted 3 years 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)

    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

  • User Meta
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.