搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Mozilla doesn't load a specific font of my website

  • 3 回覆
  • 7 有這個問題
  • 4 次檢視
  • 最近回覆由 dimichatzi

more options

Hi,

I would like to ask you something about an external font (not from Google Fonts) that I use into my website and it is not loaded from Mozilla browser. The font is the following :

https://www.fontsquirrel.com/fonts/VAG-HandWritten

You can check my under construction website here :

http://www.andreasplace.com.gr/

The web password details are the following :

username  : andreas password  : lemonakia2016

You can check the font with chrome and Edge browser in which it is loaded normally. Does maybe mozilla have any incompatibility with the specific font?

Thanx in advance!

Hi, I would like to ask you something about an external font (not from Google Fonts) that I use into my website and it is not loaded from Mozilla browser. The font is the following : https://www.fontsquirrel.com/fonts/VAG-HandWritten You can check my under construction website here : http://www.andreasplace.com.gr/ The web password details are the following : username : andreas password : lemonakia2016 You can check the font with chrome and Edge browser in which it is loaded normally. Does maybe mozilla have any incompatibility with the specific font? Thanx in advance!
附加的畫面擷圖

所有回覆 (3)

more options

There may be a problem with the path.

http://www.andreasplace.com.gr/wp-content/themes/andreasplace/templates/fonts/VAG-HandWritten-webfont.woff

returns a 404 error.

Try changing

url('fonts/VAG-HandWritten-webfont.woff') format('woff'),

to:

url('../fonts/VAG-HandWritten-webfont.woff') format('woff'),

and see whether that fixes it.

Of course, I wonder also why you have this in @font-face:

font-family: 'vag-handwrittenregular';

but then you use:

.ppb_title_first { font-family : "VAG-HandWritten"!important; }

Those might need to match.

more options

I get the same issue in Google Chrome.

more options

Finally, it worked with the following CSS :

@font-face {

   font-family: 'vag-handwrittenregular';
   src: url('fonts/VAG-HandWritten-webfont.eot');
   src: url('fonts/VAG-HandWritten-webfont.eot?#iefix') format('embedded-opentype'),
        url('fonts/VAG-HandWritten-webfont.woff') format('woff'),
        url('fonts/VAG-HandWritten-webfont.ttf') format('truetype'),
        url('fonts/VAG-HandWritten-webfont.svg#vag-handwrittenregular') format('svg');
   font-weight: normal;
   font-style: normal;

}

.ppb_title_first { font-family : "VAG-HandWritten"!important; }