CSS: @ font-face giving 404 errors in font files

I recently finished the Genesis (v1.5) children's theme for WordPress (v3.1), uploaded it to my site and the fonts do not appear as they should. I used Font Squirrel to create the appropriate files and CSS for the font. I have permission from the font designer to use it for web implementation. The same code works fine on my test site .

I used Firebug (v1.6.2) in Firefox (on OS X, v3.6.15) and found that font files get 404 errors. I checked the files three times, and they are where they should be. I downloaded them again and again and still get 404 errors in font files. Fonts do not work in Chrome (on OS X, v.10.0.648.133), Internet Explorer (on Win XP SP3, v8.0.6001.18702), or Firefox (on Win XP SP3, v3.6.15).

I tried to disable the plugin one by one, but it didn’t make any difference, so I know that this is not a plugin conflict. I am viewing the font files on the server, so I know that they are. Any ideas what to try next?

NOTE. . I changed the CSS for the font size of the title in the workplace, as it raised the layout without the correct font. Otherwise, the code is identical to the test site. Note the “Delete these sections after working with fonts” section at the top of the CSS file.

+3
source share
3 answers

On a production site, you have your fonts in the directory fonts/, while in the test case only "GuildofProfessionalActorsRegu" refers to fonts/, and if you change the font family to #title ausing firebug, you will see your own font. Try to fix the first rule.

0
source

404 face-face WordPress. , 404 WordPress.

WordPress CSS.

.

+1

?

In my work, I do not see a mine in the network, which I did some time ago ...

0
source

All Articles