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

  • Profile Image
    fmquality
    Asked on February 13, 2018 at 01:20 PM

    I looked up options such as:

    .form-sub-label-container{

      white-space: normal;

    }

    but this didn't work

  • Profile Image
    John_Benson
    Answered on February 13, 2018 at 01: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.png

  • Profile Image
    fmquality
    Answered on February 13, 2018 at 04:21 PM

    Thank you!