Importing Font Style to the Form

  • Profile Image
    Asked on July 08, 2014 at 10:30 AM

    The website uses Microsoft sans-serif. I am trying to make the form font style the same. To do so, I first injected the following CSS code: .form-all {font-family: 'Microsoft sans-serif'; }This had no effect at all. In fact, the font changed to something similar to Times Roman. I then changed the CSS to .form-all {font-family: 'Microsoft sans-serif' !important; }. This had no effect, either. Are there any suggestions? 

  • Profile Image
    Answered on July 08, 2014 at 11:28 AM


    I think the browser reads the default font name "MS Sans Serif" instead of the one you're currently using. Please remove what you have injected and use the following instead.

    .form-all {

    font-family: 'MS Sans Serif' !important;


    It should give you the following result.

    Let us know if you need anything else.