Jump to content
Sign in to follow this  
harry_ord

WordPress doesn't load my font

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

 

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...