<?xml version="1.0" encoding="UTF-8"?>
	<rss version="2.0"
		xmlns:content="http://purl.org/rss/1.0/modules/content/"
		xmlns:wfw="http://wellformedweb.org/CommentAPI/"
		xmlns:dc="http://purl.org/dc/elements/1.1/"
		xmlns:atom="http://www.w3.org/2005/Atom"

			>

	<channel>

		<title>Webfonts on local host &#8211; Themeco Community</title>
		<atom:link href="https://theme.co/archive/forums/topic/webfonts-on-local-host/feed/" rel="self" type="application/rss+xml" />
		<link>https://theme.co/archive/forums/topic/webfonts-on-local-host/feed/</link>
		<description></description>
		<lastBuildDate>Sat, 11 Oct 2025 15:16:53 +0000</lastBuildDate>
		<generator>https://bbpress.org/?v=2.6.14</generator>
		<language>en-US</language>

		
														
					
				<item>
					<guid>https://theme.co/archive/forums/topic/webfonts-on-local-host/#post-223339</guid>
					<title><![CDATA[Webfonts on local host]]></title>
					<link>https://theme.co/archive/forums/topic/webfonts-on-local-host/#post-223339</link>
					<pubDate>Mon, 09 Mar 2015 12:29:11 +0000</pubDate>
					<dc:creator>Joanne B</dc:creator>

					<description>
						<![CDATA[
						<p>Hi,</p>
<p>I am having an issue getting web fonts to work on a locally hosted site. I have tried the following two methods:</p>
<p>1) I pasted the information provided by the type foundry, though I believe the custom code may only be used with my domain.</p>
<p>They instruct to &#8220;Copy the following CSS code block between &lt;head&gt;&lt;/head&gt; the tags:</p>
<p>&lt;link rel=&#8221;stylesheet&#8221; href=&#8221;<a href="http://fonts.typonine.com/WF-003562-001284.css&#038;#8221" rel="nofollow">http://fonts.typonine.com/WF-003562-001284.css&#038;#8221</a>; type=&#8221;text/css&#8221; /&gt;</p>
<p>and they provide the following as the css definition:</p>
<p>font-family: &#8220;TyponineStencil Normal 9&#8221;;<br />
font-style: normal;<br />
font-weight: normal;<br />
font-stretch: normal;</p>
<p>Should both of these pieces of code be pasted into Editor? I tried this but it doesn&#8217;t work.</p>
<p>2) I generated webfont files using Font Squirrel webfont generator, I added these to wp-content/fonts on my local host.</p>
<p>I then added the following to the Editor:</p>
<p>@font-face {<br />
    font-family: &#8216;tystencil_regregular&#8217;;<br />
    src: url(&#8216;TyponineStencil-Regular-webfont.eot&#8217;);<br />
    src: url(&#8216;TyponineStencil-Regular-webfont.eot?#iefix&#8217;) format(&#8217;embedded-opentype&#8217;),<br />
         url(&#8216;TyponineStencil-Regular-webfont.woff2&#8217;) format(&#8216;woff2&#8217;),<br />
         url(&#8216;TyponineStencil-Regular-webfont.woff&#8217;) format(&#8216;woff&#8217;),<br />
         url(&#8216;TyponineStencil-Regular-webfont.ttf&#8217;) format(&#8216;truetype&#8217;),<br />
         url(&#8216;TyponineStencil-Regular-webfont.svg#tystencil_regregular&#8217;) format(&#8216;svg&#8217;);<br />
    font-weight: normal;<br />
    font-style: normal;</p>
<p> p, h1, h2, h3, h4, h5, h6, #site-logo, .post-title, .widgettitle {<br />
    font-family: &#8220;tystencil_regregular&#8221;;</p>
<p>Is the issue here that I have not specified an url?</p>
<p>Thanks in advance!<br />
Joanne </p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/webfonts-on-local-host/#post-223388</guid>
					<title><![CDATA[Reply To: Webfonts on local host]]></title>
					<link>https://theme.co/archive/forums/topic/webfonts-on-local-host/#post-223388</link>
					<pubDate>Mon, 09 Mar 2015 13:38:47 +0000</pubDate>
					<dc:creator>Paul R</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Joanne,</p>
<p>You can try using absolute url instead.</p>
<p>eg.</p>
<pre><code>
@font-face {
font-family: &#039;tystencil_regregular&#039;;
src: url(&#039;http://localhost/wp-content/fonts/TyponineStencil-Regular-webfont.eot&#039;);
src: url(&#039;http://localhost/wp-content/fontsTyponineStencil-Regular-webfont.eot?#iefix&#039;) format(&#039;embedded-opentype&#039;),
url(&#039;http://localhost/wp-content/fontsTyponineStencil-Regular-webfont.woff2′) format(&#039;woff2′),
url(&#039;http://localhost/wp-content/fontsTyponineStencil-Regular-webfont.woff&#039;) format(&#039;woff&#039;),
url(&#039;http://localhost/wp-content/fontsTyponineStencil-Regular-webfont.ttf&#039;) format(&#039;truetype&#039;),
url(&#039;http://localhost/wp-content/fontsTyponineStencil-Regular-webfont.svg#tystencil_regregular&#039;) format(&#039;svg&#039;);
font-weight: normal;
font-style: normal;
}

p, h1, h2, h3, h4, h5, h6, #site-logo, .post-title, .widgettitle {
   font-family: &quot;tystencil_regregular&quot;;
}
</code></pre>
<p>You can add it under <strong>Custom &gt; CSS</strong> in the <strong>Customizer</strong>.</p>
<p>Hope that helps.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/webfonts-on-local-host/#post-241437</guid>
					<title><![CDATA[Reply To: Webfonts on local host]]></title>
					<link>https://theme.co/archive/forums/topic/webfonts-on-local-host/#post-241437</link>
					<pubDate>Fri, 03 Apr 2015 12:43:12 +0000</pubDate>
					<dc:creator>Joanne B</dc:creator>

					<description>
						<![CDATA[
						<p>Hi, </p>
<p>Thanks for your advice. Unfortunately that did not work. I am using Mamp and have the local host with another folder so also tried this:</p>
<pre><code>@font-face {
font-family: &#039;tystencil_regregular&#039;;
src: url(&#039;http://localhost:8888/wordpress/wp-content/fonts/TyponineStencil-Regular-webfont.eot&#039;);
src: url(&#039;http://localhost:8888/wordpress/wp-content/fontsTyponineStencil-Regular-webfont.eot?#iefix&#039;) format(&#039;embedded-opentype&#039;),
url(&#039;http://localhost:8888/wordpress/wp-content/fontsTyponineStencil-Regular-webfont.woff2′) format(&#039;woff2′),
url(&#039;http://localhost:8888/wordpress/wp-content/fontsTyponineStencil-Regular-webfont.woff&#039;) format(&#039;woff&#039;),
url(&#039;http://localhost:8888/wordpress/wp-content/fontsTyponineStencil-Regular-webfont.ttf&#039;) format(&#039;truetype&#039;),
url(&#039;http://localhost:8888/wordpress/wp-content/fontsTyponineStencil-Regular-webfont.svg#tystencil_regregular&#039;) format(&#039;svg&#039;);
font-weight: normal;
font-style: normal;
}

p, h1, h2, h3, h4, h5, h6, #site-logo, .post-title, .widgettitle {
   font-family: &quot;tystencil_regregular&quot;;
}
</code></pre>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/webfonts-on-local-host/#post-241454</guid>
					<title><![CDATA[Reply To: Webfonts on local host]]></title>
					<link>https://theme.co/archive/forums/topic/webfonts-on-local-host/#post-241454</link>
					<pubDate>Fri, 03 Apr 2015 13:09:01 +0000</pubDate>
					<dc:creator>Zeshan</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Joanne,</p>
<p>There&#8217;s a conflict in your CSS, i.e., there is a pretty single quite instead of normal quote (see: <a href="http://prntscr.com/6p04w7" rel="nofollow">http://prntscr.com/6p04w7</a>) that could have caused the conflict. So, try using following code instead:</p>
<pre><code>@font-face {
font-family: &#039;tystencil_regregular&#039;;
src: url(&#039;http://localhost:8888/wordpress/wp-content/fonts/TyponineStencil-Regular-webfont.eot&#039;);
src: url(&#039;http://localhost:8888/wordpress/wp-content/fontsTyponineStencil-Regular-webfont.eot?#iefix&#039;) format(&#039;embedded-opentype&#039;),
url(&#039;http://localhost:8888/wordpress/wp-content/fontsTyponineStencil-Regular-webfont.woff2&#039;) format(&#039;woff2&#039;),
url(&#039;http://localhost:8888/wordpress/wp-content/fontsTyponineStencil-Regular-webfont.woff&#039;) format(&#039;woff&#039;),
url(&#039;http://localhost:8888/wordpress/wp-content/fontsTyponineStencil-Regular-webfont.ttf&#039;) format(&#039;truetype&#039;),
url(&#039;http://localhost:8888/wordpress/wp-content/fontsTyponineStencil-Regular-webfont.svg#tystencil_regregular&#039;) format(&#039;svg&#039;);
font-weight: normal;
font-style: normal;
}

p, h1, h2, h3, h4, h5, h6, #site-logo, .post-title, .widgettitle {
   font-family: &quot;tystencil_regregular&quot;;
}
</code></pre>
<p>Thanks!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/webfonts-on-local-host/#post-276893</guid>
					<title><![CDATA[Reply To: Webfonts on local host]]></title>
					<link>https://theme.co/archive/forums/topic/webfonts-on-local-host/#post-276893</link>
					<pubDate>Tue, 19 May 2015 13:35:47 +0000</pubDate>
					<dc:creator>Joanne B</dc:creator>

					<description>
						<![CDATA[
						<p>Hi,</p>
<p>Thanks for your help! I made the change you pointed out above I added a forward slash after fonts which I had left out. The font is now working for p text and .post-title but not for Headings? Do you know what this might be?</p>
<p>Thanks again!<br />
Joanne </p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/webfonts-on-local-host/#post-276900</guid>
					<title><![CDATA[Reply To: Webfonts on local host]]></title>
					<link>https://theme.co/archive/forums/topic/webfonts-on-local-host/#post-276900</link>
					<pubDate>Tue, 19 May 2015 13:43:26 +0000</pubDate>
					<dc:creator>Thai</dc:creator>

					<description>
						<![CDATA[
						<p>Hi There,<br />
Please update a bit in your CSS code:</p>
<pre><code>p, h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6, #site-logo, .post-title, .widgettitle {
   font-family: &quot;tystencil_regregular&quot; !important;
}</code></pre>
<p>Hope it helps.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/webfonts-on-local-host/#post-276941</guid>
					<title><![CDATA[Reply To: Webfonts on local host]]></title>
					<link>https://theme.co/archive/forums/topic/webfonts-on-local-host/#post-276941</link>
					<pubDate>Tue, 19 May 2015 14:35:27 +0000</pubDate>
					<dc:creator>Joanne B</dc:creator>

					<description>
						<![CDATA[
						<p>Great, that worked, thanks!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/webfonts-on-local-host/#post-276942</guid>
					<title><![CDATA[Reply To: Webfonts on local host]]></title>
					<link>https://theme.co/archive/forums/topic/webfonts-on-local-host/#post-276942</link>
					<pubDate>Tue, 19 May 2015 14:36:47 +0000</pubDate>
					<dc:creator>Nico</dc:creator>

					<description>
						<![CDATA[
						<p>You&#8217;re most welcome.</p>
<p>Have a great day! 🙂</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

