- This topic has 5 replies, 3 voices, and was last updated 5 months, 1 week ago by
Ying.
-
AuthorPosts
-
October 18, 2022 at 12:52 pm #2377996
Jennifer
Hi – I’m trying to upload a local font that is not a Google font. The documentation works great for Google fonts, but I’m having trouble applying it to this local font. Here is the CSS code I was trying to add. Can you help troubleshoot? To clarify, Permanent Market (which is a Google font) is working great. Aracne is not.
/* permanent-marker-regular – latin */
@font-face {
font-family: ‘Permanent Marker’;
font-style: normal;
font-weight: 400;
src: url(‘https://kunarolls.com/wp-content/uploads/2022/05/permanent-marker-v16-latin-regular.eot’); /* IE9 Compat Modes */
src: local(”),
url(‘https://kunarolls.com/wp-content/uploads/2022/05/permanent-marker-v16-latin-regular.eot?#iefix’) format(’embedded-opentype’), /* IE6-IE8 */
url(‘https://kunarolls.com/wp-content/uploads/2022/05/permanent-marker-v16-latin-regular.woff2’) format(‘woff2’), /* Super Modern Browsers */
url(‘https://kunarolls.com/wp-content/uploads/2022/05/permanent-marker-v16-latin-regular.woff’) format(‘woff’), /* Modern Browsers */
url(‘https://kunarolls.com/wp-content/uploads/2022/05/permanent-marker-v16-latin-regular.ttf’) format(‘truetype’), /* Safari, Android, iOS */
url(‘https://kunarolls.com/wp-content/uploads/2022/05/permanent-marker-v16-latin-regular.svg#PermanentMarker’) format(‘svg’); /* Legacy iOS */
}/* aracne https://www.dafont.com/aracne.font */
@font-face {
font-family: ‘Aracne’;
font-style: normal;
font-weight: 400;
src: url(‘https://kunarolls.com/wp-content/uploads/2022/10/ARACNE_regular.eot’) format(’embedded-opentype’); /* IE9 Compat Modes */
}October 18, 2022 at 5:19 pm #2378163Fernando Customer Support
Hi Jeniffer,
Can you add the woff2, woff, truetype and svg sources for the Aracne font as well? You can copy the format on how it’s done for Permanent Marker, just replace the URL.
October 19, 2022 at 11:05 am #2379107Jennifer
Hi Fernando – Shouldn’t the EOT file work?
I think I only have TTF and OTF and EOT
Do I need WOFF and SVG?
October 19, 2022 at 11:25 am #2379127Ying
StaffCustomer SupportHi Jennifer,
You can check the font format supported by different browsers and decide which format you need:
https://www.w3schools.com/css/css3_fonts.aspOctober 19, 2022 at 11:34 am #2379137Jennifer
Never mind I figured it out…I didn’t realize I had to upload all the other files. Thanks!
October 19, 2022 at 12:15 pm #2379165Ying
StaffCustomer SupportNo problem 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.