Can't get the name to fit the form width

  • ccureslife
    Asked on February 8, 2017 at 4:50 PM

    In the editor it looks fine and the last name appears on the line below the first name but when I go to preview it stays on one line and throws off my form. I can't figure out how to fix this.

    Jotform Thread 1060933 Screenshot
  • Kevin Support Team Lead
    Replied on February 8, 2017 at 6:12 PM

    Please, inject this CSS code to your form in order to display the field properly: 

    #id_6{

        width:100%;

    }

    #id_6 span.form-sub-label-container {

        width:60%;

        display: block;

    }

    This guide will help to inject it: https://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes