Child theme, CSS, for custom font - a puzzle that needs help!

Hey, grateful to be amongst you.

I downloaded and installed a theme called Stage, which is free in the Hubspot marketplace.

I then created a Child of that theme, which I named myself.

In the child.css stylesheet, I then added some code to add custom fonts to h1-5. However, the fonts are not rendering in the Webpages editor, nor in preview, nor when published. It’s like the code is not there.


Here’s my code!

What am I missing?

Would love your help and thank you.

Hi @jonathantrimble

Trust you are doing great.

I have checked the above quetion.

Please remove the <style> tag from CSS file immediate above the h1. As in .CSS file <style> tag do not supported.

According to my understanding, after removing the <style> tag your font-family would work.

Hope that would helpful.

Thanks

Niharika Goyal

Hi @jonathantrimble as @Niharika the style tag at the beginning and end of your declarations needs to be removed.

I also noticed you have a typo in your fallback font (should be helvetica) so you might want to double check for all of the headings.