Center Align Text Within Upload Image Button

  • Profile Image
    dylanwest2010
    Asked on June 25, 2017 at 04:12 PM

    Hello,

    I have styled my Upload Image button to look the way it does now. However, despite my best efforts, I am unable to get the 'Upload Image' text within the button to be center aligned vertically and horizontally. I just want the Upload Image text to match the style of the other sub labels. Also, how do I make the 'Upload Image' text Itallic?

     

    Please advise.

     

  • Profile Image
    jonathan
    Answered on June 25, 2017 at 05:31 PM

    In your form CSS code look for this code #cid_20 div.qq-upload-button

     

    Replace the entire code with this one...

     

    #cid_20 div.qq-upload-button {

        width: 150px;

        height: 23px;

        color: #555555!important;

        background-color: #fff!important;

        margin-bottom: -20px;

        padding-top: 8px !important;

        padding-bottom: 4px !important;

        font-style: italic !important;

    }

    ---

    it should work like this:

     

    Let us know if this did not work.