<?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 Updating Website Font in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Updating-Website-Font/m-p/208405#M8413</link>
    <description>&lt;P&gt;Hello AGAIN Community. Hoping you can help me. Branding has been updated which means the font on the website needs to be changed. I am hoping its not complicated..... Attached is a screen shot of the top of our css style sheet. Is it as easy as adding an import URL like in the screen shot? and removing the old fonts? and updating the instances of the old fonts to the new in the CSS? Any help is appreciated.&amp;nbsp; Thanks in advance!&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Current Font.png" style="width: 979px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/11993i2013E83A84AE1042/image-size/large?v=v2&amp;amp;px=999" role="button" title="Current Font.png" alt="Current Font.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 22 Sep 2018 01:53:09 GMT</pubDate>
    <dc:creator>ErinKas</dc:creator>
    <dc:date>2018-09-22T01:53:09Z</dc:date>
    <item>
      <title>Updating Website Font</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Updating-Website-Font/m-p/208405#M8413</link>
      <description>&lt;P&gt;Hello AGAIN Community. Hoping you can help me. Branding has been updated which means the font on the website needs to be changed. I am hoping its not complicated..... Attached is a screen shot of the top of our css style sheet. Is it as easy as adding an import URL like in the screen shot? and removing the old fonts? and updating the instances of the old fonts to the new in the CSS? Any help is appreciated.&amp;nbsp; Thanks in advance!&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Current Font.png" style="width: 979px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/11993i2013E83A84AE1042/image-size/large?v=v2&amp;amp;px=999" role="button" title="Current Font.png" alt="Current Font.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 22 Sep 2018 01:53:09 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Updating-Website-Font/m-p/208405#M8413</guid>
      <dc:creator>ErinKas</dc:creator>
      <dc:date>2018-09-22T01:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: Updating Website Font</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Updating-Website-Font/m-p/208452#M8422</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/67871"&gt;@ErinKas&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;yes, you can simply put the new font(s) in the first line(s), copy the name and replace all the old ones with the new.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you have a programm like Dreamweaver(paid), Atom(&lt;A href="http://www.atom.io" target="_blank"&gt;www.atom.io&lt;/A&gt;) or&amp;nbsp;similar you can copy-paste the whole .css file into a new document and do a "find &amp;amp; replace" action.&amp;nbsp;&lt;/P&gt;&lt;P&gt;With this method you get everything correctly done in under 5 seconds &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Shortcuts:&lt;/P&gt;&lt;P&gt;Dreamweaver: STRG+Shift+F // CMD+Shift+F&lt;BR /&gt;Atom:STRG+F // CMD+F&lt;/P&gt;&lt;P&gt;other programs: propably something similar&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Enter the whole line with the font into the "search" line and the same in the "replace" line. Edit the font-name in the "replace" line.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The entered name must match the font name.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;Here's an example&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;old font:&lt;/P&gt;&lt;PRE&gt;html{
font-family: 'Roboto Condensed', sans-serif;
font-weight:300;}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;new font:&lt;/P&gt;&lt;PRE&gt;html{
font-family:'Arvo', sans-serif;
font-family:400;}&lt;/PRE&gt;&lt;P&gt;You don't need an !important tag in the font-family line. It's more important to add a fallback like "serif, sans-serif..." to the font-family.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's a article with the difference and when to use which kind of font:&lt;/P&gt;&lt;P&gt;&lt;A href="https://designshack.net/articles/typography/serif-vs-sans-serif-fonts-is-one-really-better-than-the-other/" target="_blank"&gt;Serif vs. Sans-Serif on Deisgnerhack.net&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;A better, recomended&amp;nbsp; (and "future proof") solution whould be replacing the content of each font-family with a variable, like you've done with "templateWidth". In this case you'll need to change the font only in one place(if you'll need/want to change the font again)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To do so you have to do following steps:&lt;/P&gt;&lt;P&gt;1. Paste your Font URL in the first line(s) of your css file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. write&amp;nbsp; following code below the url(it should be between the font url you've pasted and the first css part like "html"&lt;/P&gt;&lt;PRE&gt;{% set baseFontFamily    = "Lato, sans-serif" %}&lt;/PRE&gt;&lt;P&gt;you can name the "baseFontFamily" how you want. It doesn't really matter. The only thing I can recomend is, that it should be easy to remember. Some like "first_font" or so &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. Change the font name inside the&amp;nbsp;quotation marks to the font name you wnat to use.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It should look something like this&lt;/P&gt;&lt;PRE&gt;{% set first_font    = "Arvo, sans-serif" %}&lt;/PRE&gt;&lt;P&gt;&lt;U&gt;Info: You can do as many variables as you want/need.&amp;nbsp;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;4. replace every&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;font-family: 'OLD FONTNAME'&lt;/PRE&gt;&lt;P&gt;with&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;font-family: {{ first_font }}; &lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;The name must match the name you gave the variable at #3&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;5. Your new font is ready to use&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For faster, and better results I recomend to use the "find &amp;amp; replace" thing I've described above.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;Important:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;You've got many Fonts&lt;/P&gt;&lt;P&gt;- Arvo&lt;/P&gt;&lt;P&gt;- Quattrocento&lt;/P&gt;&lt;P&gt;- Reem Kufi&amp;nbsp;&lt;/P&gt;&lt;P&gt;- 2x Roboto Condensed (this makes no sense&amp;nbsp;&lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://community.hubspot.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt; )&lt;/P&gt;&lt;P&gt;- FontAwesome 4.7&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I recomend you:&lt;/P&gt;&lt;P&gt;- to get them all in seperate links( it should be easier to manage them)&lt;/P&gt;&lt;P&gt;- decide which you want to use where like "Arvo as Headline font, Quattrocento for normal text"&lt;BR /&gt;- after you've made your desicion - eliminate the unnessary fonts. This will give you a small page-speed boost.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards,&lt;BR /&gt;Anton&lt;/P&gt;</description>
      <pubDate>Sun, 23 Sep 2018 14:03:29 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Updating-Website-Font/m-p/208452#M8422</guid>
      <dc:creator>Anton</dc:creator>
      <dc:date>2018-09-23T14:03:29Z</dc:date>
    </item>
  </channel>
</rss>

