How can I change the font size just for one character or line?

  • Profile Image
    mbakhtiar
    Asked on April 23, 2013 at 03:51 AM

    Hello,

    The other question is that can I change the font size of one line or one special charachter in my survey without changing the whole survey's font size? 

    In advance many thanks for your information,

    Regards,

    Mehdi

  • Profile Image
    sidharth_kch
    Answered on April 23, 2013 at 04:56 AM

    @mbakhtiar

    Can you guide us which field's text of your form you want to change?

    Thanks,

    Sidharth

  • Profile Image
    mbakhtiar
    Answered on April 23, 2013 at 05:18 AM

    thanks for your asnwer. I need to increase the font size for my words inside the star rating field without changing the font size for the words inside other fields (e.g. radio buttons).

    Regards,

    Mehdi 

  • Profile Image
    Welvin
    Answered on April 23, 2013 at 09:13 AM

    Hi Mehdi,

    Do you mean this part of your form: http://www.jotform.me/form/30761343009447 ?

    That is possible by injecting custom CSS codes to your form. This codes;

    #label_57 {

     

    font-size: 22px;

    }

    Change 22px to your preferred size. Guide: How to Inject Custom CSS Codes

     

     

    Thanks

  • Profile Image
    mbakhtiar
    Answered on April 24, 2013 at 01:31 AM

    thanks for your resoponse. Yes I exaclty mean that one. When I applied your code in the related area, it just worked for one item, but not for the others. I tried several time to inject this code again but this function is not working anymore.

    In advance many thanks for your response,

    Mehdi

  • Profile Image
    EltonCris
    Answered on April 24, 2013 at 05:52 AM

    @Mehdi

    That's because the CSS provided by my colleague only works for that specific field. Anyway, I took all the label ID's on the star rating fields from your form. You can use this CSS. http://pastebin.com/raw.php?i=xQhSDBsh

    Let us know if you have further questions. Thank you!

  • Profile Image
    mbakhtiar
    Answered on April 24, 2013 at 06:13 AM

    Thank you very much, it was very helpful. How could I know which label ID are corresponding to which field

    Best,

    Mehdi

  • Profile Image
    sidharth_kch
    Answered on April 24, 2013 at 07:17 AM

    @mbakhtiar

    Please refer these guides for more info on how to get the field id / names and labels:

    http://www.jotform.com/help/176-How-to-apply-custom-CSS-to-a-particular-field

    http://support.jotform.com/help/146-How-to-find-Field-IDs-Names

    Let us know if you need further assistance.

    Thanks,

    Sidharth