Custom font are not getting applied to the form

  • Profile Image
    e.murray
    Asked on September 09, 2020 at 05:27 PM

    I have followed each of the steps, but the font doesn't seem to be applying still:

    @import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,500;1,300&display=swap');

    .form-all

    {

    font-family: 'Montserrat', sans-serif;

    }

    Any ideas where I've gone wrong?



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

  • Profile Image
    roneet
    Answered on September 09, 2020 at 10:47 PM

    Could you please try with the below format:

    @import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');

    .form-all *

    {

    font-family: 'Montserrat', sans-serif;

    }

    Let us know how it goes.

    Thanks.