Web font not loading #188
-
On the site, I'm not sure why Helvetica loads instead of the default IBM Plex Sans Condensed font, which is what I would like it to be. Any help would be greatly appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
The font works on local but not on the server, and these are the error messages that I get: |
Beta Was this translation helpful? Give feedback.
-
Jenny, are you still having this issue? I think it may be due to your deploy setup and that the paths to the fonts are not what they need to be. @halfempty should be able to help with the specifics because I believe he's used this deploy setup before, but you'll need to look at the font paths in the webpack configuration file, |
Beta Was this translation helpful? Give feedback.
Jenny, are you still having this issue? I think it may be due to your deploy setup and that the paths to the fonts are not what they need to be. @halfempty should be able to help with the specifics because I believe he's used this deploy setup before, but you'll need to look at the font paths in the webpack configuration file,
themes/default/webpack/webpack.config.prod.js
, and maybe also at thebaseURL
in yourconfig.yml
file and adjust those according to the URL where your site will be served from. It's like you might do if you were deploying to GitHub pages: https://quire.getty.edu/documentation/site-deploy/#github-pages. By adjusting the values in a way similar to it's suggested in tho…