# Font changes

**URL:** <https://community.hubspot.com/t/font-changes/88382>\
**Category:** CMS Development\
**Tags:** design-manager\
**Created:** [August 26, 2023, 4:23pm UTC](https://community.hubspot.com/t/font-changes/88382 "2023-08-26T16:23:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MHussain8](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mhussain8/32/198394_2.png) [@MHussain8](https://community.hubspot.com/u/MHussain8)\
**Post date:** [August 26, 2023, 4:23pm UTC](https://community.hubspot.com/t/font-changes/88382/1 "2023-08-26T16:23:34Z")

</div>

How to add font changes code in main.css and field.json.

---

<div class="post-metadata">

**Author:** ![GRajput](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/grajput/32/102020_2.png) [@GRajput](https://community.hubspot.com/u/GRajput)\
**Post date:** [August 28, 2023, 8:31am UTC](https://community.hubspot.com/t/font-changes/88382/2 "2023-08-28T08:31:11Z")

</div>

Hi @MHussain8

You can add your custom font properties in **theme-overrides.css** file. For **field.json** file you have to find the type: font and in their you can give your custom font properties. I have added a screenshot for more reference.

 ![GRajput_0-1693211429194.png](https://d2qpr2jzcazej7.cloudfront.net/original/1X/f227fe07902f49d3a6056b94dc947a8ae51c3cc3.png)

Hope this will helps you out. Please mark it as **Solution Accepted & Upvote** to help other Community member.  
Thanks!

---

<div class="post-metadata">

**Author:** ![himanshurauthan](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/himanshurauthan/32/53076_2.png) [@himanshurauthan](https://community.hubspot.com/u/himanshurauthan)\
**Post date:** [September 1, 2023, 7:15am UTC](https://community.hubspot.com/t/font-changes/88382/3 "2023-09-01T07:15:28Z")

</div>

Hello @MHussain8

To adjust the font, you first need to define a font field in the `field.json` file. In this file, you can specify the font family, size, and weight that you want to use. Once you have defined the font field, you need to pass the field path to the element in the `themeoveride.css` file where you want to use the font. The field path is the relative path to the font field in the `field.json` file.

I also attached the screenshots for the better understanding.

 ![field_json.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/b/bc68acd0f274f3af54f8391e1d99350608ed3476.png)

 ![theme_override_second (1).png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/a/a0e87e454013e0219034f0f7fa19b4bfd625943c.png)

 ![theme_override_second (1).png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/a/a0e87e454013e0219034f0f7fa19b4bfd625943c.png)
