Articles on: Building and editing

How to change the font of form

The form element contains standard font. If you want to change the font you can do that through code injection.

Below you will find an example code for changing the font for the fields and the submit button:

<style>
  @import url('https://fonts.googleapis.com/css2?family=Oswald&display=swap');
  form input[type="submit"] {
    font-family: 'Oswald', sans-serif;
  }
  form input[type="text"] {
    font-family: 'Oswald', sans-serif;
  }
</style>

Updated on: 16/07/2021

Was this article helpful?

Share your feedback

Cancel

Thank you!