How to change the font color and size of heading & sub-headings?

  • pardop1
    Asked on August 18, 2016 at 11:02 PM

    Please tell me how to change the color for the various headers and subheaders on this form (will be adding more).

     

    https://form.jotform.com/62210966277964

     

    Thanks,

     

    Pam

  • Ashwin JotForm Support
    Replied on August 19, 2016 at 3:29 AM

    Hello Pam,

    Please inject the following custom css code to change the color and font size of form headings:

    .form-header-group .form-header {

        color: #fdfdfd !important;

        font-size: 14pt !important;

    }

    Css code to change the color and font size of sub-headings:

    .form-header-group .form-subHeader {

        color: #ffffff !important;

        font-size: 10pt !important;

    }

     

    The following guide should help you how to inject custom css code in form:  https://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes 

    Hope this helps.

    Do get back to us if you have any questions.

    Thank you!

  • pardop1
    Replied on August 19, 2016 at 7:45 AM
    This only worked for the header, not the subheader. i thought maybe the #ffffff color in the subhead may have been the issue so i matched the color to that you gave for the header - that did not work either.
    ...
  • pardop1
    Replied on August 19, 2016 at 7:45 AM
    i fixed the issue.
    ...
  • Jan
    Replied on August 19, 2016 at 10:02 AM

    Thank you for updating us that your issue is now fixed. We're glad to hear that your issue is now fixed. If you need anything else, let us know. Thank you.

  • pardop1
    Replied on August 19, 2016 at 11:45 AM
    The bar above the header is still black. Please advise on how to change.
    Sent from my iPhone
    ...
  • Ashwin JotForm Support
    Replied on August 19, 2016 at 1:05 PM

    Hello pardop1,

    I am not sure if I have understood your requirement correctly. Do you mean to say that you want to change the color of the heading separator? 

    Please inject the following custom css code in form and that should solve your problem:

    .form-header-group {

        border-color: #fff !important;

    }

    The output of the above custom css code should be as displayed in the screenshot below:

    How to change the font color and size of heading & sub headings? Image 1 Screenshot 20

     

    Thank you!