Tagged: custom font
I’m working on momentumoh.com and I have loaded a custom font to the enfold settings. The font does not show and I can’t seem to find where it is being overridden. What can I do?
Hey satucker,
Thank you for the inquiry.
The font museomoderno doesn’t load because of a CORS issue. The font file is loaded through a URL, which is different compare to the actual site URL. Please update the site URL in the Settings > General panel and remove the “www” part, or add this code in the .htaccess file to enable cross origin sharing.
<FilesMatch ".(ttf|otf|woff)$">
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin "*"
</IfModule>
</FilesMatch>
IMPORTANT: Please make sure to create a site backup or a restore point before proceeding with any of the steps above.
Best regards,
Ismael