Subtitle below date is too narrow

  • rtolmach
    Asked on December 30, 2017 at 8:36 PM

    Hi

    The subtitle below the date on our form wraps onto multiple lines, because it is staying within the width of the date entry field instead of going the width of all the other fields.

    How do I fix that?

    https://www.jotform.com/build/73577684784174


    Thanks!

  • Elton Support Team Lead
    Replied on December 30, 2017 at 11:49 PM

    You can fix it by expanding the date field.


    Inject this CSS codes to your form.

    .form-sub-label {

        white-space: normal;

    }

    [data-type="control_datetime"] .form-sub-label-container {

        width: 83%;

        margin-right: 2%;

    }

    Guide: http://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes

    Result:

    Subtitle below date is too narrow Image 1 Screenshot 20