Custom font are not getting applied to the form

  • e.murray
    Asked on September 9, 2020 at 5: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?

  • roneet
    Replied on September 9, 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.