New CDN - webfont not working anymore
-
This is likely not an issue with Lay, but I'm hoping someone can still point me in the right direction.
My host switched to Cloudflare as their CDN (previously Key CDN). As per the host instructions, I changed the css font link from using the previous KeyCDN link, to simply using the following:
@font-face { font-family: 'Graphik Regular'; font-style: normal; font-weight: 400; src: url('https://beige.company/wp-content/fonts/Graphik-Regular-Web.woff2') format('woff2'), url('https://beige.company/wp-content/fonts/Graphik-Regular-Web.woff') format('woff'); font-display: swap; }
I then removed and re-added the webfonts in Lay via the Font Manager, using the following info:
Font name: Graphik_Regular
<link href="https://beige.company/wp-content/fonts/fonts.css" rel="stylesheet" type="text/css"> font-family: 'Graphik Regular';
However, this does't work, even after clearing all caches several times.
Any idea what could be the issue? FYI, I currently switched all fonts to Helvetica. My site is https://beige.company
Thanks!
-
Dear @nypaloto
If these help:
http://laythemeforum.com:4567/topic/6476/font-encoded-in-base64
http://laythemeforum.com:4567/topic/6094/variable-font-can-be-used
http://laythemeforum.com:4567/topic/917/activate-styllistic-sets/6
http://laythemeforum.com:4567/topic/6206/webfont-issue-2-fonts-working-fine-3rd-one-doesn-t ( This one is you :)
Best wishes 🌞
Richard
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it