How does one Bold the Subheader Text?

  • SACMembership
    Asked on June 12, 2020 at 1:43 AM

    How do I bold the subheader text? or increase the font size?


  • BJoanna
    Replied on June 12, 2020 at 3:24 AM

    You can do it with CSS.

    .header-large .form-subHeader {

        font-size: 20px!important;

        font-weight: bold;

    }

    How to Inject Custom CSS Codes

    here is a demo form - https://form.jotform.com/201632044344040 

  • SACMembership
    Replied on June 12, 2020 at 4:17 AM

    I am afraid it doesn't work.

    I pasted in the above under the Inject Custom CSS segment :


    .form-header {


    }

    .header-large .form-subHeader {


        font-size: 20px!important;


        font-weight: bold;


    }

  • jherwin
    Replied on June 12, 2020 at 6:15 AM

    Is this the form you're working on?

    https://form.jotform.com/201189075276459

    If so, please try using this custom CSS code:

    h2#header_1 {
        font-size: 40px;
        font-weight: bold;
    }

    Please give it a try and let us know how it goes.

  • SACMembership
    Replied on June 12, 2020 at 6:38 AM

    No, and it doesn't work. This is my form.

    https://form.jotform.com/SACMembership/Proxyform

  • SACMembership
    Replied on June 12, 2020 at 6:42 AM

    Also, do I paste it under after the header CSS? ie #6 onwards, or do I replace it at #1?


  • Ivaylo JotForm Support
    Replied on June 12, 2020 at 7:27 AM

    I checked your form and noticed that you had not added a Subheader.

    I created a Subheader and then added the CSS code, which was provided by my colleague. It worked fine. This is the CSS code:

    .header-large .form-subHeader {

        font-size: 40px!important;

        font-weight: bold;

    }

    1591961125chrome apsJqfj4rZ Screenshot 10

    Please add a Subheader on your form and then inject the CSS code. In order to inject the CSS code, you can follow this guide:

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

    You can clone and test my form from here:

    https://form.jotform.com/201633031860949

    Let us know if you need any further assistance.

  • SACMembership
    Replied on June 12, 2020 at 8:30 AM

    I am sure I am missing something here. I did not know I needed to create a subheader. i thought it was automatic? I created a header, and then typed the text under the smaller text for subheader. Is that not correct?

    In the screenshot below, I am referring to bolding and increasing font size for the 2nd line (is that not the subheader?

  • Jovanne JotForm Support
    Replied on June 12, 2020 at 8:51 AM

    Hi, thank you for your response.

    Please note that subheaders are added automatically when you add a header field.

    Just to clarify, are these the sections you are referring to?

    How does one Bold the Subheader Text? Image 10


    We look forward to your response. Thank you.

  • Mabel Lim
    Replied on June 12, 2020 at 9:32 AM

    Yes. I am referring to the 4 headers. But it does not work

  • Jovanne JotForm Support
    Replied on June 12, 2020 at 9:40 AM

    Thank you for your response.


    Please allow us some time to work on the solution to your problem. As soon as we have a solution for you, we will get back to you.


    Thank you for your patience. 

  • Jovanne JotForm Support
    Replied on June 12, 2020 at 9:48 AM

    Hi, thank you for your patience.

    Please replace all your custom CSS code with this code:

    div.form-subHeader {

        font-weight: 800 !important;
        font-size: 20px !important;

    }


    Here is a guide on how to inject custom CSS codesHow-to-Inject-Custom-CSS-Codes


    Let us know if that works for you. Thank you.

  • SACMembership
    Replied on June 12, 2020 at 11:38 PM

    Thank you very much. It works now.