<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Change a font issue]]></title><description><![CDATA[<p dir="auto">Hi guys,</p>
<p dir="auto">I would like to inquire you to help me with changing a newsfeed font.<br />
I`ve already done this modification of custom.css:</p>
<pre><code>@font-face {
  font-family: FivoSans;
  font-style: normal;
  font-weight: medium;
  src:
    local("Fivo"),
    url("Fivo/FivoSans-Medium.woff2") format("woff2"),
    url("Fivo/FivoSans-Medium.woff") format("woff");
}
.fivosans-custom-class {
  font-family: 'FivoSans';
  font-weight: medium;
}

.fivosans-medium-custom-class {
  font-family: 'FivoSans';
  font-weight: medium;
}
.newsfeed {
  font-family: FivoSans;
}

body {
}  

</code></pre>
<p dir="auto">The font was converted from TrueType to Woff and Woff2 a I have copied it into this folder:</p>
<pre><code>/home/pi/MagicMirror/fonts/node_modules/roboto-fontface/fonts/Fivo
</code></pre>
<p dir="auto">I am a Newbie in CSS, so if you have any idea what I do wrong, give me an advice, please.</p>
]]></description><link>https://forum.magicmirror.builders/topic/11776/change-a-font-issue</link><generator>RSS for Node</generator><lastBuildDate>Thu, 18 Jun 2026 11:15:27 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/11776.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 13 Dec 2019 14:50:56 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Change a font issue on Sat, 14 Dec 2019 22:00:34 GMT]]></title><description><![CDATA[<p dir="auto">Thank you for your advice. However, only this code has solved the issue:</p>
<pre><code>
@font-face {
  font-family: FivoSans;
  font-style: normal;
  src:
    url("FivoSans-Medium.woff2") format("woff2"),
    url("FivoSans-Medium.woff") format("woff");
}
.fivosans-custom-class {
  font-family: 'FivoSans';
  font-weight: medium;
}

.fivosans-medium-custom-class {
  font-family: 'FivoSans';
  font-weight: medium;
}
.newsfeed .medium {
  font-family: FivoSans;
}

</code></pre>
<p dir="auto">I had to add .medium, and now it works 😊👍 Thank you very much!</p>
]]></description><link>https://forum.magicmirror.builders/post/66027</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/66027</guid><dc:creator><![CDATA[artomka]]></dc:creator><pubDate>Sat, 14 Dec 2019 22:00:34 GMT</pubDate></item><item><title><![CDATA[Reply to Change a font issue on Sat, 14 Dec 2019 09:23:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/artomka" aria-label="Profile: artomka">@<bdi>artomka</bdi></a></p>
<p dir="auto">Try (removing the font weight from the font face)</p>
<pre><code>
@font-face {
  font-family: FivoSans;
  font-style: normal;
  src:
    local("Fivo"),
    url("FivoSans-Medium.woff2") format("woff2");
}

.newsfeed .light {
  font-family: FivoSans;
}
</code></pre>
<p dir="auto">(notice that i added the <code>.light</code> class after <code>.newsfeed</code>, this is because the <code>.light</code> class name adds the robot font and overwrites the more general font added to <code>.newsfeed</code>)<br />
With the font file still in the css folder (no subfolders ofc)., Next step is to try any other font type, like otf or ttf</p>
]]></description><link>https://forum.magicmirror.builders/post/66004</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/66004</guid><dc:creator><![CDATA[broberg]]></dc:creator><pubDate>Sat, 14 Dec 2019 09:23:57 GMT</pubDate></item><item><title><![CDATA[Reply to Change a font issue on Fri, 13 Dec 2019 21:54:55 GMT]]></title><description><![CDATA[<p dir="auto">Hi, thank you for your time. However, it hasn’t helped. Maybe there is another problem in my CSS file?</p>
]]></description><link>https://forum.magicmirror.builders/post/65994</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/65994</guid><dc:creator><![CDATA[artomka]]></dc:creator><pubDate>Fri, 13 Dec 2019 21:54:55 GMT</pubDate></item><item><title><![CDATA[Reply to Change a font issue on Fri, 13 Dec 2019 20:28:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/artomka" aria-label="Profile: artomka">@<bdi>artomka</bdi></a></p>
<p dir="auto">The folderpath isn’t correct.</p>
<p dir="auto">This is the easiest way to test your font :</p>
<p dir="auto">Copy the font <code>FivoSans-Medium.woff</code> directly in to your css folder.<br />
then change the url to <code>url("FivoSans-Medium.woff") format("woff");</code></p>
]]></description><link>https://forum.magicmirror.builders/post/65987</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/65987</guid><dc:creator><![CDATA[broberg]]></dc:creator><pubDate>Fri, 13 Dec 2019 20:28:40 GMT</pubDate></item></channel></rss>