CSS code to center the file upload button is not applying to form

  • Profile Image
    gschnepper
    Asked on August 10, 2020 at 06:39 PM

    Hi,


    I used this CSS code that was offered in another forum question to manually center the file upload button:


    label#label_1 {

      text-align: center;

    }

    .qq-uploader {

      margin: 0 auto;

    }

    And it worked, but then when I saved the form and previewed it, it shows it lined to the left still.


    Do I have an issue with the template that is preventing it from applying?


    Thank you!

  • Profile Image
    Krishna_D
    Answered on August 10, 2020 at 11:08 PM

    Hello gschnepper ,

    I just checked your form using the Preview button and it seems to working fine by aligning the button in center.

    This indicates that the custom CSS was applied to our default form element

    Yes you are right that the left button in "Builder Mode" is due to the default nature of the element upon which the CSS code in applied.

    I hope you got my point.

    Feel free to contact.

    THANK YOU!