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

**URL:** <https://community.hubspot.com/t/child-theme-css-for-custom-font-a-puzzle-that-needs-help/69968>\
**Category:** Blog, Website & Page Publishing\
**Tags:** starter\
**Created:** [November 24, 2022, 9:46pm UTC](https://community.hubspot.com/t/child-theme-css-for-custom-font-a-puzzle-that-needs-help/69968 "2022-11-24T21:46:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jonathantrimble](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jonathantrimble/32/197019_2.png) [@jonathantrimble](https://community.hubspot.com/u/jonathantrimble)\
**Post date:** [November 24, 2022, 9:46pm UTC](https://community.hubspot.com/t/child-theme-css-for-custom-font-a-puzzle-that-needs-help/69968/1 "2022-11-24T21:46:09Z")

</div>

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.

 ![Screenshot 2022-11-24 at 20.50.50.jpg](https://d2qpr2jzcazej7.cloudfront.net/original/3X/9/6/9698f6298621b5374f4bd6e95617c5b863494889.jpeg)  
Here’s my code!

What am I missing?

Would love your help and thank you.

---

<div class="post-metadata">

**Author:** ![Niharika](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/niharika/32/30293_2.png) [@Niharika](https://community.hubspot.com/u/Niharika)\
**Post date:** [November 25, 2022, 7:10am UTC](https://community.hubspot.com/t/child-theme-css-for-custom-font-a-puzzle-that-needs-help/69968/2 "2022-11-25T07:10:12Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![jnix284](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jnix284/32/29_2.png) [@jnix284](https://community.hubspot.com/u/jnix284)\
**Post date:** [November 26, 2022, 8:54pm UTC](https://community.hubspot.com/t/child-theme-css-for-custom-font-a-puzzle-that-needs-help/69968/3 "2022-11-26T20:54:47Z")

</div>

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.
