# Same Font in all Devices

**URL:** <https://forums.realmacsoftware.com/t/same-font-in-all-devices/44845>\
**Category:** Elements API\
**Created:** [October 3, 2024, 6:49pm UTC](https://forums.realmacsoftware.com/t/same-font-in-all-devices/44845 "2024-10-03T18:49:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bill](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/bill/32/107_2.png) [@Bill](https://forums.realmacsoftware.com/u/Bill)\
**Post date:** [October 3, 2024, 6:49pm UTC](https://forums.realmacsoftware.com/t/same-font-in-all-devices/44845/1 "2024-10-03T18:49:23Z")

</div>

In a component font control, I want to keep the font the same across all device sizes, is this the correct way to do it?:

```auto
{
  "title": "Title Font:",
  "id": "titlefont",
  "themeFont": {
    "default": {
      "base": {"name": "body"}
    }
  }
},

```

---

<div class="post-metadata">

**Author:** ![dan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dan/32/28516_2.png) [@dan](https://forums.realmacsoftware.com/u/dan)\
**Post date:** [October 3, 2024, 8:02pm UTC](https://forums.realmacsoftware.com/t/same-font-in-all-devices/44845/2 "2024-10-03T20:02:13Z")

</div>

If you don’t want to allow the user to change fonts between breakpoints, you’ll need to add “responsive: false” to the control. Like this:

```auto
{
  "title": "Title Font:",
  "id": "titlefont",
  "responsive": false,
  "themeFont": {
    "default": {
      "base": {"name": "body"}
    }
  }
},

```

---

<div class="post-metadata">

**Author:** ![Bill](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/bill/32/107_2.png) [@Bill](https://forums.realmacsoftware.com/u/Bill)\
**Post date:** [October 3, 2024, 8:19pm UTC](https://forums.realmacsoftware.com/t/same-font-in-all-devices/44845/3 "2024-10-03T20:19:45Z")

</div>

@dan I just wanted to confirm, I was talking about the actual font assigned - not the font size. So that code is for the font itself, correct?

---

<div class="post-metadata">

**Author:** ![dan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dan/32/28516_2.png) [@dan](https://forums.realmacsoftware.com/u/dan)\
**Post date:** [October 3, 2024, 9:29pm UTC](https://forums.realmacsoftware.com/t/same-font-in-all-devices/44845/4 "2024-10-03T21:29:31Z")

</div>

Yes, correct!
