# Rich Text Editor does not render stronger font weights.

**URL:** <https://community.hubspot.com/t/rich-text-editor-does-not-render-stronger-font-weights/107372>\
**Category:** CMS Development\
**Created:** [May 16, 2024, 8:18pm UTC](https://community.hubspot.com/t/rich-text-editor-does-not-render-stronger-font-weights/107372 "2024-05-16T20:18:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kyleffotf](https://avatars.discourse-cdn.com/v4/letter/k/9de053/32.png) [@kyleffotf](https://community.hubspot.com/u/kyleffotf)\
**Post date:** [May 16, 2024, 8:18pm UTC](https://community.hubspot.com/t/rich-text-editor-does-not-render-stronger-font-weights/107372/1 "2024-05-16T20:18:08Z")

</div>

In my custom theme (built with HS boilerplate), my custom font is loading and I’m able to style headings, paragraphs, etc.

But if a rich text field contains bolded text, it’s being ignored. I know the bold font weight is loaded because the headings have it, but when it’s mixed into the rich text field, it doesn’t show. Inspecting the text shows it’s surrounded by span with font-weight:bold.

Note that I’m using the hubspot rich text field module, not a cloned one.

 ![kyleffotf_0-1715890311522.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/5/5/55f1c9a3ea08d2f8c5591b0583f13b1bb2aed5da.png)

In the screenshot you can see it’s just barely bolder than the rest of the text, which is odd.

How should I be setting up my theme’s font settings? In my fields.json file, I have a body section like this:

```lia-code-sample
{
 "label": "Text",
 "name": "text",
 "type": "group",
 "children": [
 {
 [...]
 {
 "label": "Body",
 "name": "body_font",
 "type": "group",
 "children": [
 {
 "label": "Body Font",
 "name": "font",
 "type": "font",
 "visibility": {
 "hidden_subfields": {
 "styles": true,
 "variant": true
 }
 },
 "load_external_fonts": true,
 "inherited_value": {
 "property_value_paths": {
 "color": "theme.global_fonts.primary.color",
 "font": "theme.global_fonts.primary.font",
 "font_set": "theme.global_fonts.primary.font_set"
 }
 },
 "default": {
 "size": 16,
 "size_unit": "px"
 },
 "variant": 400
 }
 ]
 },
 }
}

```

In my theme settings you can see the fonts are set here:

 ![kyleffotf_1-1715890660237.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/b/b7e9535abf9d397fb87485ee466661bfd9f091d4.png)

What have I missed that is causing the fonts not to load in the rich text field?

---

<div class="post-metadata">

**Author:** ![pm8rsh88](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/pm8rsh88/32/78471_2.png) [@pm8rsh88](https://community.hubspot.com/u/pm8rsh88)\
**Post date:** [May 19, 2024, 10:49am UTC](https://community.hubspot.com/t/rich-text-editor-does-not-render-stronger-font-weights/107372/2 "2024-05-19T10:49:50Z")

</div>

What happens when you try changing font-weight: bold; to a numeric value instead? 700 is bold, but 900 should be black (heavy). If that doesn’t change, could it be that your font doesn’t support bold?
