Hello!
I’ve followed the steps from HS article on how to use fonts in HubSpot, and yet the fonts are not rendering in the editor, the preview, or the live page.
I’ve tried all that I can find regarding updating the stylesheet, which is a child of the sprout theme / pricing page (if that makes any difference to know).
The live page is https://mym.live/2023 with password of makeyourmarklive2023 to view (so that our public doesn’t find it yet, but wanted to allow you all to see it to try and assist.)
Any help would be greatly appreciated.
Hi @ColeW , happy to help with getting your custom fonts configured - it looks like there is a little bit of code missing to tell the browsers what font-weight, etc. to use for Bugaki.
I’ve also added a fallback which is recommended for browsers that don’t support woff2 or ttf
I also don’t typically use the google @import, because it has to load the Google API to deliver the fonts which impacts page speed and GDPR. You can download these font files for free directly from the Google Fonts library and add to your HS files, then configure the same as the other. This isn’t necessary since it does look to be working properly.
With all of that said, I am able to see the correct fonts as follows:
Lora is showing properly and matches the visual appearance from the font library, but it is applying to the H1 here:
My only guess about why it would apply to the H1 is because the font weight was missing for Bugaki so it is falling back to Lora, hopefully updating the code will resolve this.
Montserrat is also applying properly to the paragraphs:
Thank you! The supporting article didn’t mention needing to include the additional aspects, but that was exactly the issue. It won’t show the hosted font in the editor, but it does show it in preview and on the live page, which is where it counts.
Thank you again for your assistance!