How to unbold part of the question?

  • Profile Image
    igrzysk
    Asked on June 29, 2015 at 02: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?

  • Profile Image
    Charlie
    Answered on June 29, 2015 at 03: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>

     

    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;

    }

     

     

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

    Thanks.

  • Profile Image
    igrzysk
    Answered on June 30, 2015 at 03:08 AM

    Thank you it worked!

  • Profile Image
    Chriistian
    Answered on June 30, 2015 at 07: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.