Checkbox field width

  • safeinsight
    Asked on October 7, 2016 at 11:39 AM

    Our checkbox fields and "Participant Name" fields just "magically" shrunk on their own out of the blue.  They have been working fine for some time prior to this.  

     

    We have tried everything including confirming that they were not checked to "shrink", adjusting width of form, and injecting custom CSS.  Nothing is working.

    Jotform Thread 954372 Screenshot
  • Jan
    Replied on October 7, 2016 at 1:38 PM

    The problem is that there is a max-width of 180px assigned to those fields. We can fix this by setting the max-width to none. Please insert this CSS code in your form:

    .form-radio-item, .form-checkbox-item {
       max-width: none !important;
    }

    [data-type="control_radio"] .form-input, [data-type="control_checkbox"] .form-input, [data-type="control_radio"] .form-input-wide, [data-type="control_checkbox"] .form-input-wide {
       max-width: none !important;
    }

    Here's a guide on How-to-Inject-Custom-CSS-Codes. Here's the result:

    Checkbox field width Image 1 Screenshot 20

    If you have any questions, let us know. Thank you.

  • Jan
    Replied on October 7, 2016 at 1:47 PM

    I apologize, I forgot to provide the CSS fix for the "Participant Name" field. Please add this CSS code:

    .form-input, .form-address-table, .form-matrix-table {
       max-width: none !important;
    }

    Thank you.