• Resolved Boris


    I am setting up an ACF group with some FontAwesome icon selector fields. However, the preview is not working. I can search for the words, and results come up, but no preview of the icons themselves. Not in the ACF group, not in the page editor.
    In the frontend, everything is okay, because I load FA for other purposes through my theme.
    The error I get when checking the browser console ls 403 Forbidden / “not allowed for origin” for the https://kit.fontawesome.com/1231223.js?ver=6.2.2 file.

    I did some research, and tested by adding this to the .htaccess file in the website root:

    <FilesMatch ".(eot|ttf|svg|otf|woff|woff2|js|css)">
      Header set Access-Control-Allow-Origin "*"

    But it has not made a difference.
    Can you help me get this fixed?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Matt Keys


    Kit’s can be configured to only be usable on certain domains in the FontAwesome kit settings area.

    It sounds to me like maybe this kit has a domain configured and for some reason it is not matching the domain you are trying to use it on.

    Thread Starter Boris


    Hi Matt,
    since the function was working, I didn’t think to look there. But you were right, there was a typo in the domain name. Thanks a lot for your quick help!!

    Plugin Author Matt Keys


    Your welcome!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Preview in backend not working’ is closed to new replies.