title: Wordpress Custom font not found
body: <p>I created a custom wordpress theme from scratch <br>
  I am trying to use custom font<br>
  what I done<br>
  upload font to <code>wp-content/themes/mythemefolder/fonts/fontfolder</code><br>
   in theme default style.css<br></p>
  
  <pre><code>@font-face {
          font-family: "fontname";
          src: url('fonts/fontfolder/fontname.otf');
  }
  *{font-family: "fontname";}
  </code></pre>
  
  <p>when I visti page text are not in desired font<br>
  I check console show error : </p>
  
  <pre><code>Failed to load resource: the server responded with a status of 404 (Not Found)  http://domainname.com/wp-content/themes/mythemefolder/fonts/fontfolder/fontname.otf 
  </code></pre>
  
  <p><br>
  path of font in console is correct but still font not working <br></p>
  
  <p>what mistake I am making </p>
  
  <p>thanks in advance for help </p>