How can I center all label, input fields and submit button

  • Amplifyinnovate
    Asked on December 21, 2018 at 12:38 PM
  • Mike_G JotForm Support
    Replied on December 21, 2018 at 2:18 PM

    The first thing that you need to do is to set the label alignment of the fields in your form to "Top".

    1545418962t13 58 03 Screenshot 10

    After that, inject the following CSS codes to your form to make the fields and the submit button in your form centered.

    .form-label, .form-input-wide, .form-buttons-wrapper {

        text-align: center !important;

        width: 100% !important;

        max-width: none !important;

    }

    1545419870t14 17 12 Screenshot 21

    How-to-Inject-Custom-CSS-Codes