How to unbold part of the question?

  • igrzysk
    Asked on June 29, 2015 at 2:39 PM

    Hello,

     

    I would like to have a question in which only a part of the text in bolded.

     

    For example.

    How old are you? (Be honest)

     

    First part bolded but second part not. How can I achieve this?

  • Charlie
    Replied on June 29, 2015 at 3:44 PM

    That's possible by declaring parts of the question as an element. Then using CSS to unbold that part.

    Here's an example, in the question or field name, wrapped the parts by <span> separately.

    <span class="boldThis">How old are you?</span> <span class="unboldThis">(Be honest)</span>

    How to unbold part of the question? Image 1 Screenshot 30

     

    Now we can declare specific styling on specific parts of the question because it has class names on it. Open your Form Designer and add this custom CSS code.

    .boldThis {

        font-weight : bold !important;

    }

    .unboldThis {

        font-weight : normal !important;

    }

     

    How to unbold part of the question? Image 2 Screenshot 41

     

    I hope that helps. If you need more assistance on this, please let us know.

    Thanks.

  • igrzysk
    Replied on June 30, 2015 at 3:08 AM

    Thank you it worked!

  • Chriistian Jotform Support
    Replied on June 30, 2015 at 7:54 AM

    Hi igrzysk,

    On behalf of my colleague, Charlie, you are welcome. Glad to hear that the issue was solved. 

     

    Do let us know if you need further assistance.

     

    Regards.