How can I add multiple lines in a sub heading field?

  • myroncampbell
    Asked on October 23, 2016 at 7:29 PM

    I want to put multiple lines in the sub-header. Previously I was able to embed command, but that is no longer interpretted.

  • seth
    Replied on October 24, 2016 at 3:27 AM

    Could you please supply us the details about the issue like in which form you want subheadings to have multiple lines or name of fields that should have multiple lines? 

    Right now I can only suggest you to make changes on your source code according to your needs. Please note that when you start using your source code, you need to update it every time you made a change on your form.

    Waiting for your response.

    Regards.

  • seth
    Replied on October 24, 2016 at 5:11 AM

    I worked on the issue a little bit further. You can insert the below code to get a line break in subheadings. However you need to define width property according to your needs. 

    .form-subHeader {

    width: 10px;

    white-space: normal;

    }

    Here is a demonstration:

    How can I add multiple lines in a sub heading field? Image 1 Screenshot 30

    This code applies style to all subheadings. Yo can apply styles to subheadings individually. In this case you need to inspect elements from form source code and you need to define css accordingly. 

    How can I add multiple lines in a sub heading field? Image 2 Screenshot 41

     

    The code for styling single element:

    #subHeader_22 {

    width: 10px;

    white-space: normal;

    }

     

    I hope this helps.

    Cheers.