I've just started learning Grav CMS and wanted to use FontAwesome Pro with the sites I've made, I do have a license and all the necessary files.
I've added fontawesome-all.min.css to /user/plugins/admin/themes/grav/templates/partials/base.html.twig and the CSS file loads just fine on the site. But all the webfonts return 404 my base.html.twig now contains this
{% extends 'partials/base-root.html.twig' %}
{% do assets.addCss('theme://css/fontawesome-all.min.css') %}
I put the css in a css folder, on the same level as the css folder (in the g5_helium theme folder, I'm using Gantry 5 as well). yet chrome (or any other browser) fails to load the FA font files returning 404.
the path from my CSS file to the webfonts are the same as the path specified in the FA CSS file. I've attached output from my terminal where I print 1 line from one of the webfont files to prove that the path should, in my view, be correct.
➜ g5_helium git:(master) ✗ cd css; ls
fontawesome-all.min.css
➜ css git:(master) ✗ echo "examplepath from css file"
examplepath from css file
➜ css git:(master) ✗ tail -n 1 ../webfonts/fa-solid-900.ttf
window-alt window-closewindow-maximizewindow-minimizewindow-restore�windowon-sign�wrenchx-rayen-sign%
The path in the FA-all.css file is the same, output from file
url("../webfonts/fa-solid-900.ttf") format("truetype")