How do I stop the sub-label from wrapping?

  • Montano_Elise
    Asked on October 13, 2021 at 5:44 AM

    I have two questions in my form, and the sub-labels are wrapping to match the size of the multiple choice/drop down menus, rather than the full width of the question text. Is there a way to adjust the CSS code so that the sub-labels run to the same width as the question text?

    NgqGFAQDuvv1JY1RFswc0B 2RLqyXFPb9M2qil64 Screenshot 10

  • Ivaylo JotForm Support
    Replied on October 13, 2021 at 7:26 AM

    Please inject the following CSS code in your form:

    .form-sub-label

    {

     width: 950px;

    }

    In order to inject the CSS code, you can check and follow this guide:

    https://www.jotform.com/help/117-how-to-inject-custom-css-codes

    Please give it a try and let us know if you need any further assistance.