Loading font hosted on Marketo blocked by CORS | Community
Skip to main content
Level 1
February 25, 2026
Solved

Loading font hosted on Marketo blocked by CORS

  • February 25, 2026
  • 2 replies
  • 17 views

We’re implementing Knak as a pagebuilder for Marketo. The final pages will be synced and hosted on Marketo, but they are built on Knak. Knak allows you to load fonts via a CSS file with @font-face, but when trying to load those fonts we get a CORS error because it’s Knak’s domain trying to load the fonts.

Is there any way to change CORS policy on Marketo to allow certain domains to load fonts? The pages will ultimately be hosted on our Marketo domain so it shouldn’t be an issue then, but we need to get them to show in the pagebuilder in the meantime.

Best answer by SanfordWhiteman

See here: 

 

2 replies

SanfordWhiteman
Level 10
February 25, 2026

You cannot change the CORS policy. However, there is a way to accomplish this using cross-window messaging. I’ll add it to the blog next week.

SanfordWhiteman
SanfordWhitemanAccepted solution
Level 10
February 26, 2026

See here: