Custom font for forms

is it possible to create a custom text font other than available google fonts in hubspot forms?

Hey @KGopalakrishn,
You can set the form as raw HTML like so:

This allows you to either style it through HubCMS or by using custom css - which gives you the option to use any font that you like.

Just to follow up on @P_Cortebeeck when the “raw html” feature is disabled, HubSpot forms load within an iframe and are designed to be a bit of a “styling sandbox” so not external styling or scripts can affect them. It’s not currently possible to add more fonts to the HubSpot form editor, so when the form is not a raw html form no custom styling can be added outside of what’s available within the editor.

The only option would be to enable the raw HTML form and style the entire form yourself, alternatively if you have some experience with Javascript you could inject new CSS to the form via the customised embed code, but I’ve seen this have mixed results.