Hi all,
I need some help understanding how custom fonts work across the Hubspot development environment.
I’m attempting to use custom TTF fonts our company has purchased on Hubspot. They show up as expected but how to use them in Hubspot is inconsistent.
What I’ve done
1. I’ve tried following the instructions here: Use fonts in HubSpot and here: Add custom fonts to a theme (hubspot.com)
2. I’ve tried updating my themes font using the instructions here: Edit your theme settings (hubspot.com)
The problem I’m having
1. The fonts appear in some menus and not others. I can see them (sort of) in theme settings (per number 2 above) but changing settings don’t seem to make a difference.
2. The names of fonts and their varieties show up in different ways in different places. For example,
Here’s how they show up in the Rich Text Editor:
But here’s how they show up in the Theme editor and for individual controls like buttons:
Also in the theme editor, a font style shows up as the font name. I have no idea why.
I tried “resetting” everything by pulling out the custom fonts from theme.json but it appears to have made no difference (the fonts still show up and editing that file hasn’t impacted anything).
Here is my folder structure for my custom fonts. I’m not sure if it’s correct because the documentation is a little obscure.
I also added this code to my theme-override.css but I have no idea if it’s doing anything (I also tried changing the font-family on my h1 style to test but I’m not sure if it’s working).
Needless to say, I’m very confused how all this is supposed to work and because I can’t see impacts to changes I make, I can’t debug it. Any guidance would be appreciated.
Paul





