Website works fine locally but after hosting it through Github, the css does not work #22808
-
Hi everyone. I have created my first website and tried hosting it. The issue I am facing is, the website works properly on my local system. Even after I pull the files from my github repo, it works fine. But on the actual website all the javascript and css is gone. The website is - www.sampurnagraphics.com It would be great if anyone helps me. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @meetnandu05, welcome to the GitHub Support Community! Looking in the development console for your site it seems like there’s a lot of 403 (Forbidden) errors when loading your site’s assets. It seems like these assets are being loaded from an external domain You’ll either need to find an external host that will allow you to reference these files or upload them directly to your GitHub repository and update the links to point to these files instead. |
Beta Was this translation helpful? Give feedback.
Hi @meetnandu05, welcome to the GitHub Support Community!
Looking in the development console for your site it seems like there’s a lot of 403 (Forbidden) errors when loading your site’s assets. It seems like these assets are being loaded from an external domain
https://tympanus.net/
which is likely blocking your use of these files.You’ll either need to find an external host that will allow you to reference these files or upload them directly to your GitHub repository and update the links to point to these files instead.