Subtitle below date is too narrow

  • Profile Image
    rtolmach
    Asked on December 30, 2017 at 08: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!

  • Profile Image
    EltonCris
    Answered 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: