Centering a field (not just label above)

  • Profile Image
    dave3535
    Asked on June 09, 2020 at 02:04 PM

    How do I center a field(shortened) in my form?  Not using the card format.1591725836center field.PNG

  • Profile Image
    Jimmy_D
    Answered on June 09, 2020 at 07:34 PM

    You can use Custom CSS to center a field on your form if your form is using the classic layout. If it's using the Card layout, it will be centered by default and cannot be modified. 

    To inject custom CSS on the Classic layout form, please follow this guide.- How-to-Inject-Custom-CSS-Codes

    Let us know should you need further assistance. 


  • Profile Image
    Bert_A
    Answered on June 09, 2020 at 07:40 PM

    Hi there,

    Thank you for reaching out.

    Kindly please add the following CSS to your form to put your number input to the center.

    #id_1 {

        padding-left : 300px;

        display : inline-grid

       


    }

    https://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes

    Let me know should you need further assistance.