Form Sublabels: Some Sublabels Displaying Shorter Widths Without Changes

  • Profile Image
    stormingrobots
    Asked on June 5, 2026 at 9:35 AM

    see form 261553459784167 .. i did not change the sublabel.. why they are so short?

    
Form Sublabels: Some Sublabels Displaying Shorter Widths Without Changes
Image-1

  • Profile Image
    Kevin JotForm Support
    Replied on June 5, 2026 at 9:55 AM

    Hi stormingrobots,

    Thanks for using Jotform. I had a look at your form and was able to replicate the same issue. This can be fixed after Injecting CSS Codes into your form. Let me walk you through it:

    1. First, copy this code:

    #id_87 span.form-sub-label-container, #id_90 span.form-sub-label-container, #id_88 span.form-sub-label-container, #id_91 span.form-sub-label-container, #id_92 span.form-sub-label-container{
           width: 100% !important;
    }

    2. In Form Builder, click on the Paint Roller icon on the right side of the page to open Form Designer.

    3. Now, in the Form Designer menu, click on the Styles tab, scroll down and paste the code into the Inject CSS Code box. That’s it. The code is automatically saved.

    
Form Sublabels: Some Sublabels Displaying Shorter Widths Without Changes
Image-1 Give it a try and let us know how it goes.

  • Profile Image
    stormingrobots
    Replied on June 5, 2026 at 11:46 AM

    thank you for that.. My question is not how to change it. My question is "why".. for the past many years, I have never seen the label field got defaulted to such a small size; while I have not done any create any custom css for that either.


    Can you tell me what may have caused it, so that I know "what" not to do in the future.

  • Profile Image
    stormingrobots
    Replied on June 5, 2026 at 11:49 AM

    in fact... there is no reason to do customized just for those fields. All sublabel should have a reasonable size.. so I did :

    span.form-sub-label-container {
     width: 100% !important;
    }


    But question remains - why was it defaulted to be so short to begin with?

  • Profile Image
    Royce JotForm Support
    Replied on June 5, 2026 at 11:58 AM

    Hi stormingrobots,

    It appears to be an issue with the form theme. I cloned your form and changed its theme from Nurse Taking Note to Default Theme, and everything was working properly. Check out the screencast below to see my results:

    
Form Sublabels: Some Sublabels Displaying Shorter Widths Without Changes
Image-1

    That's it. Let us know if you have any other questions.

  • Profile Image
    stormingrobots
    Replied on June 5, 2026 at 12:20 PM

    I figure that was it. Thank you.

  • Profile Image
    Podo: Support Specialist
    Replied on June 5, 2026 at 12:20 PM

    Hi stormingrobots,

    Your request has been answered and the thread is closed.

    If you have another question or need more help, feel free to reply here and we'll assist you right away.

Your Reply