Jump to content

Make fonts as part of theme resources.


Numbered

Recommended Posts

Posted

We transfer all storage files to s3 with cdn. So it's very good for separate our app nodes with IPS from user files. One of type of storage files is "Theme Resources". All worked well, but inside their css we have link to fonts (woff, ttf), which not transfer to storage. Can you set fonts as part of themes? It's logical and clear.

In our situation we have nginx conf, which transfer all request only to index.php in / and /admin folders. All static and user uploads transfer from cdn. All worked well apart this font files.

Posted

It’s not that easy, since browser like Firefox have a same-origin rule. If you call webfonts from a different site that doesn’t sent special headers, the webfonts won’t be used at all. 

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...