Exact matches only
Search in title
Search in content
Search in posts
Search in pages

How to change the font family for form inputs?

We do not have an option to change the font family of your form inputs at the moment, but you can use custom CSS to manually change them as you see fit. To do so, go to the SettingsThemes section of your form and hit the link Use custom CSS. Next, paste the following code:

input {'font-family-name'}

Replace font-family-name with the name or succession of names of the fonts you want included. In our example below, we have added ‘Comic Sans MS’, cursive, sans-serif’. That’s it. For text area fields, add textarea to the code as seen below:

input, textarea {'font-family-name'}

Try out our online form below:

If you want to change the font family for only some of the input boxes, follow the steps below:

1. In My Forms, select your form and click on the View button, or if your form is opened, go to Preview.

change font style for form inputs

2. Right-click on the first input of your form field and hit Inspect Element. If this option doesn’t appear, go to your browser’s settings and enable the developer tools option.

change font style for form inputs

3. In the Developer Tools lightbox, look for the line where you see the parameter id=id123-controlxxxxxxxx. That’s the unique ID of the respective form input. Advanced fields, such as Name and Address, have a unique ID for each subfield input.

change font style for form inputs

4. Once you have located the ID, copy it and go to the SettingsThemes section of your form and hit Use custom CSS.

change font style for form inputs

5. Now add the following code line:

#id123-controlxxxxxxxx {font-family: font_family;}
  • Replace id123-controlxxxxxxxx with the ID of your form input which you’ve copied earlier.
  • Replace font_family with any font family you want. If you want to use the same font family as for your form labels, copy the names from ThemesTextFont styles.
  • Hit Apply

6. Repeat the steps above for each form input.

For assistance, don’t hesitate to contact our support specialists at support@123formbuilder.com or via our contact form.

Leave a Reply

Your email address will not be published. Required fields are marked *