How to expand the length of a sub label so it doesn't wrap?

  • fmquality
    Asked on February 13, 2018 at 1:20 PM

    I looked up options such as:

    .form-sub-label-container{

      white-space: normal;

    }

    but this didn't work

    Jotform Thread 1383195 Screenshot
  • John_Benson
    Replied on February 13, 2018 at 1:58 PM

    Please try to inject this custom CSS code to your form to target only that field: 

    li#id_61 .form-sub-label {

        width: 500px !important;

    }

    To add a custom CSS code to your form, please follow this guide: 

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

    I hope this helps. 

    Here's the result:

    151854830241x1as Screenshot 10

  • fmquality
    Replied on February 13, 2018 at 4:21 PM

    Thank you!