Adding Google Raleway font to web form

  • Profile Image
    ArtesaniaSV
    Asked on July 28, 2016 at 12:17 PM

    Hello again,

     

    One more question: I have followed the steps to applying a google font to my form, but unfortunately it is not working.

     

    I have injected the following css:

    @import url(https://fonts.googleapis.com/css?family=Raleway);

    .form-all {

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

    }

     

    Please advise!

    Thanks!

  • Profile Image
    Mike
    Answered on July 28, 2016 at 02:27 PM

    It seems that you need to select .form-label, you can also add .form-textarea and input. 

    Please try the next CSS:

    @import url(https://fonts.googleapis.com/css?family=Raleway);
    .form-all, .form-label, .form-textarea, input {

    font-family : 'Raleway', sans-serif;
    }

    If you need any further assistance, please let us know.

  • Profile Image
    ArtesaniaSV
    Answered on July 28, 2016 at 05:19 PM

    Thank you so much, this was a great help!

    Just one thing...the the input for the textbox is indeed Raleway, however for the regular fields, such as Name, the google font is not applying. What am I missing?

     

    Thanks!

  • Profile Image
    Mike
    Answered on July 28, 2016 at 06:38 PM

    You are welcome.

    Input should be without a dot, or alternatively the style can be applied to the .form-textbox.

    Thank you.

  • Profile Image
    ArtesaniaSV
    Answered on July 28, 2016 at 08:25 PM

    Great help! Thanks SO much!