<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Configuring a Custom Font to set in Theme Settings in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Configuring-a-Custom-Font-to-set-in-Theme-Settings/m-p/835391#M35457</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/545561"&gt;@ndickiso&lt;/a&gt;. I'm a little late to the game, and you've hopefully already found a solution, but I believe there are two issues.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Change your file name from 'fonts.json' to 'font.json' (remove the 's' in fonts)&lt;/LI&gt;
&lt;LI&gt;In your 'theme.json' file replace
&lt;PRE&gt;"custom_fonts": [ "./fonts/AzoSans2" ],&lt;/PRE&gt;
with
&lt;PRE&gt;  "fonts": {
    "label" : "Azo Sans 2",
    "custom_fonts": [ "./fonts/AzoSans2"]
  },&lt;/PRE&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;I hope that helps!&lt;/P&gt;</description>
    <pubDate>Wed, 16 Aug 2023 14:08:33 GMT</pubDate>
    <dc:creator>r_levine</dc:creator>
    <dc:date>2023-08-16T14:08:33Z</dc:date>
    <item>
      <title>Configuring a Custom Font to set in Theme Settings</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Configuring-a-Custom-Font-to-set-in-Theme-Settings/m-p/776511#M33559</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello there!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm a developer, new to HubSpot. I'm trying to follow this article:&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.hubspot.com/docs/cms/building-blocks/themes/custom-fonts" target="_blank" rel="noopener"&gt;https://developers.hubspot.com/docs/cms/building-blocks/themes/custom-fonts&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;to add a custom font to my "test-theme". I cannot get the font to populate as an option from the dropdown in the Theme Settings &amp;gt; Global Fonts.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could anyone review my theme structure, theme.json, fonts/ and let me know how I can correct this?&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="theme.json" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/88452i7F7C24731ECE99E6/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2023-03-30 at 5.59.58 AM.png" alt="theme.json" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;theme.json&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="design manager" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/88453i86C046ACADE8C1A9/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2023-03-30 at 5.59.09 AM.png" alt="design manager" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;design manager&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fonts json.png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/88454i0ADDCA94C2049298/image-size/large?v=v2&amp;amp;px=999" role="button" title="fonts json.png" alt="fonts json.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Mar 2023 08:20:17 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Configuring-a-Custom-Font-to-set-in-Theme-Settings/m-p/776511#M33559</guid>
      <dc:creator>ndickiso</dc:creator>
      <dc:date>2023-03-31T08:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring a Custom Font to set in Theme Settings</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Configuring-a-Custom-Font-to-set-in-Theme-Settings/m-p/777497#M33603</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/545561"&gt;@ndickiso&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; Thanks for reaching out. We're you able to get this working?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Jaycee&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2023 18:02:32 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Configuring-a-Custom-Font-to-set-in-Theme-Settings/m-p/777497#M33603</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2023-04-03T18:02:32Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring a Custom Font to set in Theme Settings</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Configuring-a-Custom-Font-to-set-in-Theme-Settings/m-p/778370#M33651</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/127074"&gt;@Jaycee_Lewis&lt;/a&gt;! &lt;EM&gt;No&lt;/EM&gt;, I have not. Can you help &lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;?&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2023 14:06:24 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Configuring-a-Custom-Font-to-set-in-Theme-Settings/m-p/778370#M33651</guid>
      <dc:creator>ndickiso</dc:creator>
      <dc:date>2023-04-05T14:06:24Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring a Custom Font to set in Theme Settings</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Configuring-a-Custom-Font-to-set-in-Theme-Settings/m-p/835391#M35457</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/545561"&gt;@ndickiso&lt;/a&gt;. I'm a little late to the game, and you've hopefully already found a solution, but I believe there are two issues.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Change your file name from 'fonts.json' to 'font.json' (remove the 's' in fonts)&lt;/LI&gt;
&lt;LI&gt;In your 'theme.json' file replace
&lt;PRE&gt;"custom_fonts": [ "./fonts/AzoSans2" ],&lt;/PRE&gt;
with
&lt;PRE&gt;  "fonts": {
    "label" : "Azo Sans 2",
    "custom_fonts": [ "./fonts/AzoSans2"]
  },&lt;/PRE&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;I hope that helps!&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 14:08:33 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Configuring-a-Custom-Font-to-set-in-Theme-Settings/m-p/835391#M35457</guid>
      <dc:creator>r_levine</dc:creator>
      <dc:date>2023-08-16T14:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring a Custom Font to set in Theme Settings</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Configuring-a-Custom-Font-to-set-in-Theme-Settings/m-p/857615#M36095</link>
      <description>&lt;P&gt;Hey! I think I just figured out how to make it work!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. As suggested by &lt;EM&gt;r_levine&lt;/EM&gt; you should rename &lt;EM&gt;fonts.json&lt;/EM&gt; to&amp;nbsp;&lt;EM&gt;font.json&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;2. Put the&amp;nbsp;&lt;EM&gt;font.json&lt;/EM&gt; file &lt;U&gt;inside&lt;/U&gt; your&amp;nbsp;&lt;EM&gt;AzoSans2&lt;/EM&gt; folder (one &lt;EM&gt;font.json&lt;/EM&gt; file per font)&lt;/P&gt;&lt;P&gt;3. In&amp;nbsp;&lt;EM&gt;theme.json&lt;/EM&gt; file, add&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;"custom_fonts"&lt;/SPAN&gt;&lt;SPAN&gt;: [&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;  "./fonts/AzoSans2"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; ]&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;as expected. It will then discover the&amp;nbsp;&lt;EM&gt;font.json&lt;/EM&gt; file inside the directory.&lt;/P&gt;&lt;P&gt;4. In the&amp;nbsp;&lt;EM&gt;fields.json&lt;/EM&gt; file of the theme (the one in the root of the theme folder), find your font object and then set the default object to&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;"default": {&lt;BR /&gt;  "fallback": "arial, sans-serif",&lt;BR /&gt;  "font": "Azo Sans 2",&lt;BR /&gt;  "font_set": "CUSTOM"&lt;BR /&gt;}&lt;/PRE&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I was kinda lucky with the&lt;PRE&gt;"font_set": "CUSTOM"&lt;/PRE&gt;property as I did not find it anywhere but guessed it!&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Hope it helped, and maybe report the issue in the article you linked in your original post so the missing info is added to the doc.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Hope it helped &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 30 Sep 2023 16:42:18 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Configuring-a-Custom-Font-to-set-in-Theme-Settings/m-p/857615#M36095</guid>
      <dc:creator>lolcabanon</dc:creator>
      <dc:date>2023-09-30T16:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring a Custom Font to set in Theme Settings</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Configuring-a-Custom-Font-to-set-in-Theme-Settings/m-p/1010257#M39878</link>
      <description>&lt;P&gt;If I'm understanding correctly from&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/137114"&gt;@r_levine&lt;/a&gt;&amp;nbsp;&amp;nbsp;and&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/640155"&gt;@lolcabanon&lt;/a&gt;&amp;nbsp;answers, the &lt;A href="https://developers.hubspot.com/beta-docs/guides/cms/content/fields/custom-fonts" target="_blank" rel="noopener"&gt;documentation&lt;/A&gt; is not correct and if you were to say spend over 2 hours writing json and creating directories and double checking all of your code, it won't work? Jokes aside, that documentation is incorrect, incomplete or both. Docs are supposed to eliminate guesswork, not create it so I hope they correct them.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My aim was to make the custom font available for CTAs. What actually worked for me was adding a &lt;A href="https://developers.hubspot.com/beta-docs/reference/cms/fields/module-theme-fields#font" target="_blank" rel="noopener"&gt;font field&lt;/A&gt; on my theme's field.json file, then uploading each font.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2024 23:32:08 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Configuring-a-Custom-Font-to-set-in-Theme-Settings/m-p/1010257#M39878</guid>
      <dc:creator>EdCupaioli</dc:creator>
      <dc:date>2024-07-15T23:32:08Z</dc:date>
    </item>
  </channel>
</rss>

