How does one Bold the Subheader Text?

  • Profile Image
    SACMembership
    Asked on June 12, 2020 at 01:43 AM

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


  • Profile Image
    BJoanna
    Answered on June 12, 2020 at 03: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 

  • Profile Image
    SACMembership
    Answered on June 12, 2020 at 04: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;


    }

  • Profile Image
    jherwin
    Answered on June 12, 2020 at 06: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.

  • Profile Image
    SACMembership
    Answered on June 12, 2020 at 06:38 AM

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

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

  • Profile Image
    SACMembership
    Answered on June 12, 2020 at 06:42 AM

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


  • Profile Image
    IvayloK
    Answered on June 12, 2020 at 07: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.png

    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.

  • Profile Image
    SACMembership
    Answered on June 12, 2020 at 08: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?

  • Profile Image
    Jovanne_A
    Answered on June 12, 2020 at 08: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?

    159196625401.png


    We look forward to your response. Thank you.

  • Profile Image
    Mabel Lim 
    Answered on June 12, 2020 at 09:32 AM

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

  • Profile Image
    Jovanne_A
    Answered on June 12, 2020 at 09: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. 

  • Profile Image
    Jovanne_A
    Answered on June 12, 2020 at 09: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.

  • Profile Image
    SACMembership
    Answered on June 12, 2020 at 11:38 PM

    Thank you very much. It works now.