• Hi,

    I use a google font for site-title and description. I changed css and it works fine on almost all sites. But it does not work on blog posts-

    https://www.usimon58119.de/2019/08/11/hello-world-4/

    On blog post the site title and description font becomes to Times New Roman instead to google font ‘Audiowide’.
    It would be nice if you could give me a fix for it.

    Thanks and best regards

    Uli

    • This topic was modified 5 years, 3 months ago by ulilc.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author Carolina Nymark

    (@poena)

    Hi!

    I looked at and tested your page, and it looks like the font is not added correctly.
    The path to the font is wrong and it results in a 404 (missing page) error.

    On the single post, it says:

    scripts.js:1 GET https://www.usimon58119.de/2019/08/11/fonts/audiowide-v8-latin-regular.woff2 net::ERR_ABORTED 404 (Not Found)
    
    05:13:06.695 (index):1 GET https://www.usimon58119.de/2019/08/11/fonts/audiowide-v8-latin-regular.woff net::ERR_ABORTED 404 (Not Found)
    
    05:13:06.879 (index):1 GET https://www.usimon58119.de/2019/08/11/fonts/audiowide-v8-latin-regular.ttf 404 (Not Found)
    

    Do you see the date? 2019/08/11/. That should not be in the path.
    Try using the full path to the font file, not ../:

    @font-face {
      font-family: 'Audiowide';
      font-style: normal;
      font-weight: 400;
      src: url('../fonts/audiowide-v8-latin-regular.eot'); /* IE9 Compat Modes */
      src: local('Audiowide Regular'), local('Audiowide-Regular'),
           url('../fonts/audiowide-v8-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
           url('../fonts/audiowide-v8-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
           url('../fonts/audiowide-v8-latin-regular.woff') format('woff'), /* Modern Browsers */
           url('../fonts/audiowide-v8-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
           url('../fonts/audiowide-v8-latin-regular.svg#Audiowide') format('svg'); /* Legacy iOS */
    }
    Thread Starter ulilc

    (@ulilc)

    Hi poena.

    there was no hint to do so on google-webfonts-helper and in the tutorial but now it works:-)

    Thank you very much for great theme and support!

    Best regards

    Uli

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘google font for site title and description’ is closed to new replies.