Google Font not applying to form in form designer

  • Profile Image
    becshall73
    Asked on June 13, 2016 at 09:06 AM

    Hi,

    I'm having a problem getting Google Fonts to work on my form.  It was working until I changed the width of the form in the Form Styles 'Properties' tab to 900px.

    The font I am trying to use is EB Garamond.  It works successfully in some of my other forms.

     

    Thanks.

     

     

  • Profile Image
    KadeJM
    Answered on June 13, 2016 at 10:57 AM

    From what I understand you are unable to get the EB Garamond font to work on your form.

    I am currently investigating this issue which will take a little bit of time since you have a lot of css on your form and I will update you again shortly as soon as I can help resolve the issue for you.

  • Profile Image
    KadeJM
    Answered on June 13, 2016 at 01:26 PM

    The problem was due to a css conflict.

    It seems that the verdana font was ignoring your eb garamond font even though you had it on css so it was defaulting to the first one.

    You can fix this though by applying " !important " to the very end of your .form-all font on line 69 in the form designer.

    .form-all{

    font-family: "EB Garamond", sans-serif !important;

    padding-top: 0px;

    /*width: auto;*/}

     

    You can see this change on a live updated version of your form here:

    https://form.jotform.com/61644518783969   [CLONE ME!]

     

     

  • Profile Image
    becshall73
    Answered on June 13, 2016 at 03:37 PM

    Thank you for your reply.  I have tried that and it doesn't seem to work.  Perhaps you could check if I have done it correctly?

    Thanks very much.

  • Profile Image
    KadeJM
    Answered on June 13, 2016 at 03:49 PM

    It's working on my end.

    But I went into your form and reapplied then saved it again for you.

    Can you try again and let us know if it shows up for you correctly now?

  • Profile Image
    becshall73
    Answered on June 13, 2016 at 03:51 PM

    Yes, it's working now.  How strange!  

    Thanks very much for your help.

  • Profile Image
    Nik_C
    Answered on June 13, 2016 at 05:30 PM

    On behalf of my colleague you're welcome!

    I'm glad it is working for you.

    Cheers!