Issue with Google Fonts

  • Mike_Lacroix
    Asked on March 29, 2021 at 1: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.

  • Andrew Manager of Enterprise Frontline Support
    Replied on March 29, 2021 at 6: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!

  • mogulpro
    Replied on April 13, 2021 at 12:33 PM

    it works when you use one font weight vs multiple
  • Andrew Manager of Enterprise Frontline Support
    Replied on April 13, 2021 at 1: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!

  • Mike_Lacroix
    Replied on April 13, 2021 at 1: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!

  • DeMarque
    Replied on April 13, 2021 at 1: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 :
    ...