Change width of field's sub-label

  • mbas123
    Asked on May 11, 2015 at 9:30 AM
    also I want to change the width of the sub label which should be equal to the label of the question
  • Chriistian Jotform Support
    Replied on May 11, 2015 at 10:09 AM

    Hi mbas123,

     

    I cloned the latest form you worked on - "Final Project Re fresh - 2nd" - (though I am not 100% sure if it is the form in question so please correct me it's not). To wrap the sub-label so that it does not overflow to the next field, inject the custom CSS below:

    .form-sub-label-container {

    white-space: normal !important;

    }

    To inject the CSS, please follow the instructions below.

    Change width of fields sub label Image 1 Screenshot 30

     

    Here's how it looks on my cloned form.

    Change width of fields sub label Image 2 Screenshot 41

     

    I hope it will solve your problem.

     

    Regards.