Islandstone
KPCKevin Powell - Community
•Created by Islandstone on 9/11/2024 in #front-end
Fonts will not load correctly
Hi everyone. I'm doing a "mockup" of parts of a website of a festival I attend every year. On my local server (via Live Server VS Code Extension) both the images and the fonts load correctly.
However, on the github pages I only get "404 Not Found" for the fonts. I checked the "Network" tab in DevTools, and it shows that the request URL for some reason doesn't find the root folder when loading the fonts. It is missing the repo name from the URL.
I've been trying for a while now, experimenting with how I reference the fonts in my
_fonts.scss
file, to no avail. Hope someone here can figure out the exact issue. Thanks!
Repo: https://github.com/Islandstone89/ppe
Live Site: https://islandstone89.github.io/ppe/1 replies