Jump to content

WordPress doesn't load my font


harry_ord

Recommended Posts

Hello, this is my site:

http://cvkj.agencialosnavegantes.cl/

I have a font called "Averta" and i uploaded via FTP all the .otf filesto the /wp-includes/fonts/ on my WordPress.

Now i'm calling it like this on the Custom CSS:

 

@font-face {
	font-family: "Averta";  
	src: url("http://cvkj.agencialosnavegantes.cl/wp-includes/fonts/AVERTA LIGHT.OTF");  
	
}

body {
    font-family: "Averta";
    font-weight: normal;  
}

 

Link to comment
Share on other sites

It appears to work in Firefox. Internet Explorer has issues with certain font files where they need some permissions to be set. It gives the following message " @font-face failed OpenType embedding permission check. Permission must be Installable."

The font file has to be changed, you could also a WOFF file instead of OTF.

If you're certain that you're using this font with the author's permission, you can use this tool to convert to font to be usable in Internet Explorer. https://www.andrebacklund.com/fontfixer.html

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...