I need to chage some font sizes on my form

  • Profile Image
    shawndarling
    Asked on May 25, 2013 at 09:43 AM

    In particular, the lables under the input boxes. ie The words "First Name, Middle Name, Last Name, etc.

  • Profile Image
    jonathan
    Answered on May 25, 2013 at 11:44 AM

    Hi,

    You can inject CSS codes to the form like this.

     

    .form-sub-label {

    font-size: 12px;

    }

     

    Here is the guide on how to https://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes

    I tested it. It looks like this.(using 28px font size)

     

    Hope this help. Inform us if you need further assistance.

    Thanks.

     

  • Profile Image
    shawndarling
    Answered on May 25, 2013 at 12:10 PM

    Perfect!! Thanks. How about color??

  • Profile Image
    dinesh-it
    Answered on May 25, 2013 at 10:45 PM

    Hi, you can use the same CSS tag to change the color also.

    Just add this line.

    color: #colorcode !important; /* For font color */

    eg:

    .form-sub-label {

    font-size-12px;

    /* For font color */

    color: #FFFFFF !important;

    /* For Background Color */

    background: #FF0000 !important;

    }

    Refer this page for HTML Color Picker

    You can even use General color names instead of color codes eg:

    .form-sub-label {

    font-size-12px;

    color: white !important;

    background: red !important;

    }

    Hope this helps you.

    Thank you.