What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Unable to wrap sub-labels in my form.

    Asked by cmsacomms on February 02, 2015 at 08:38 PM

    Hi, just trying to text wrap sub-labels in my form so they fit neatly under the field box above. Unfortunately, my injected CSS entered at the end isn't doing anything. Perhaps it is something to do with CSS (I created this using the designer) at the beginning?

     

    I have entered

    .form-sub-label {

    max-width : 150px;

    }

     

     

    Screenshot
    wrapping sub-labels sub label Injected CSS max-width max
  • Profile Image
    JotForm Support

    Answered by ashwin_d on February 03, 2015 at 02:03 AM

    Hello cmsacomms,

    I did check your form and it seems you have resoled this issue already. The sub-label is being displayed correctly. Please check the screenshot below:

     

    If you want the width of the labels to be increase a bit, you should inject the following custom css code in form :

    .form-sub-label {

    max-width: 290px !important;

    }

    Hope this helps.

    Do get back to us if you have any questions.

    Thank you!