Join the Mozilla’s Test Days event from Dec 2–8 to test the new Firefox address bar on Firefox Beta 134 and get a chance to win Mozilla swag vouchers! 🎁

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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; }