Issue with Google Fonts

  • Profile Image
    Mike_Lacroix
    Asked on March 29, 2021 at 01:07 PM

    Hello!

    I have filled out the custom fields for a google font and the form is not updating.

    @import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&display=swap');

    .form-all *{

    font-family: 'DM Sans', sans-serif;

    }

    Any assistance would be highly appreciated.



    This is a re-post of a comment on How to Use Google Fonts and Custom Fonts in Your Form

  • Profile Image
    AndrewDurant
    Answered on March 29, 2021 at 06:57 PM

    Hello Mike,

    Thank you for contacting Jotform Support! After cloning this form into my account and doing some testing, it looks like the CSS you are injecting is being overridden by the Custom Theme that is currently applied to this form. I removed the "Default Theme" that was currently applied, and the font was updated on my cloned form.

    Can you please follow the steps found here to remove the default theme from your form, and let me know if you run into any additional issues here?

    Thank you in advance!

  • Profile Image
    mogulpro
    Answered on April 13, 2021 at 12:33 PM

    it works when you use one font weight vs multiple
  • Profile Image
    AndrewDurant
    Answered on April 13, 2021 at 01:47 PM

    Hello there,

    Thank you for reaching out! In order to avoid any confusion, I will be moving your inquiry to a new thread before responding. Please check here for my response- https://www.jotform.com/answers/3033860

    Thank you!

  • Profile Image
    Mike_Lacroix
    Answered on April 13, 2021 at 01:52 PM

    Hi Andrew!


    Sorry for taking so long to respond back, but yes this worked out like a charm. Indeed the custom theme was the problem.


    Many thanks!

  • Profile Image
    DeMarque
    Answered on April 13, 2021 at 01:55 PM
    Hi Andrew!
    Sorry for taking so long to respond back, but yes this worked out like a
    charm. Indeed the custom theme was the problem.
    Many thanks!
    Le lun. 29 mars 2021 à 18:57, Jotform a écrit :
    ...