Custom font

Posted in: Newspaper
Post count: 88

Is it impossible to directly upload and use font files and CSS to the server, other than the functions provided by the theme?
I uploaded to the server using FTP, but the custom font is not applied.

I want to speed things up even faster.

https://www.mongooz.co.kr

Post count: 88

I put fonts folder – fonts and css files in www folder on web server.
How do I write the @font-face path?

  • This reply was modified 3 years by mongooz.
  • This reply was modified 3 years by mongooz.
Post count: 88

When I look at the developer tools, I get this error:
mongooz.co.kr/wp-content/themes/Newspaper/images/icons/newspaper.woff?21′ from origin ‘https://mongooz.co.kr’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.
mongooz.co.kr/:1

GET https://www.mongooz.co.kr/wp-content/themes/Newspaper/images/icons/newspaper.woff?21 net::ERR_FAILED 200

Post count: 27744

Hi,

Please check this guide: https://forum.tagdiv.com/font-customization/, so you can see how to use the custom font files.
Did you add the font in Theme Panel -> Theme Fonts?

Thank you!

Post count: 88

hello. I uploaded Pretendard woff as a theme font, but it was not applied properly in Windows.

I want to upload it to the server and use it. Please tell me how to connect.

Post count: 27744

Hi,

Please check this guide to solve the issue https://www.webnots.com/how-to-fix-cors-errors-in-wordpress/

Thank you!

Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Newspaper’ is closed to new topics and replies.