- This topic has 30 replies, 3 voices, and was last updated 8 months, 3 weeks ago by
David.
-
AuthorPosts
-
June 1, 2020 at 1:21 pm #1310296
John C
Hi,
i am using the Neuropolitical font on my site but it’s not displaying properly in Internet Explorer. is there a fix for this?
Thank you,
JohnJune 1, 2020 at 2:14 pm #1310343David
StaffCustomer SupportHi there,
have you installed the
.eot
file version of the font ?Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/June 1, 2020 at 5:19 pm #1310458John C
yes i did actually – here is my CSS:
@font-face{
font-family: ‘Neuropolitical’;
font-style: normal;
font-weight:400;
src: url(‘https://therevrepublic.com/neuro.eot’);
src: url(‘https://therevrepublic.com/neuro.eot?#iefix’) format(’embedded-opentype’), url(‘https://therevrepublic.com/neuro.woff2’) format(‘woff2’), url(‘https://therevrepublic.com/neuro.woff’) format(‘woff’), url(‘https://therevrepublic.com/neuro.ttf’) format (‘truetype’), url(‘https://therevrepublic.com/neuro.svg’) format(‘svg’);
}it only doesnt display properly in IE
June 2, 2020 at 3:49 am #1310925David
StaffCustomer SupportIs it that the wrong font is being displayed ? Or is the correct font but it looks incorrect ?
If its the latter then you may want to check the original font files are not corrupted.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/June 2, 2020 at 3:50 am #1310926John C
No it’s the former
June 2, 2020 at 5:31 am #1311020David
StaffCustomer SupportCan you repaste your @font-face code here – before submitting, please highlight the code and click the code button in the toolbar so i can see the formatting is correct.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/June 2, 2020 at 5:32 am #1311021John C
@font-face{ font-family: ‘Neuropolitical’; font-style: normal; font-weight:400; src: url(‘https://therevrepublic.com/neuro.eot’); src: url(‘https://therevrepublic.com/neuro.eot?#iefix’) format(’embedded-opentype’), url(‘https://therevrepublic.com/neuro.woff2’) format(‘woff2’), url(‘https://therevrepublic.com/neuro.woff’) format(‘woff’), url(‘https://therevrepublic.com/neuro.ttf’) format (‘truetype’), url(‘https://therevrepublic.com/neuro.svg’) format(‘svg’); }
June 2, 2020 at 5:42 am #1311033David
StaffCustomer SupportIt might be the curly quotes.
Check in your theme CSS that you don’t have curly quotes‘’
– make sure they are straight''
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/June 2, 2020 at 7:31 am #1311154John C
i double checked and they are all straight.
June 2, 2020 at 7:37 am #1311162David
StaffCustomer SupportIf you right click and inspect the page in IE11 are there any errors in the console?
Sorry i can’t check as IE11 is forbidden on my current network.Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/June 2, 2020 at 7:41 am #1311168John C
actually, yes:
**
June 2, 2020 at 8:22 am #1311375David
StaffCustomer SupportNone of them look font related.
In the Networks panel of the Developers console can you see if the font is being requested? You may have to clear the caches and reload to see if it is called.Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/June 2, 2020 at 8:33 am #1311391John C
yes i do
June 2, 2020 at 8:35 am #1311392John C
oh but i notice the console errors are very different now
June 2, 2020 at 9:07 am #1311462David
StaffCustomer SupportFound this article on the matter:
https://stackoverflow.com/a/14092444
Sounds like a bad conversion of the EOT font….
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/ -
AuthorPosts
- You must be logged in to reply to this topic.