My page works great locally but messes up when opened using GitHub Pages #22247
-
Hey all, as you can tell I’m rather new to all of this. Upon finishing the first half of my website, everything seemed to work great. I could open it and interact with it on my local PC without any issues. The problem, however, is that the second I open it up using GitHub Pages everything goes kaput. The first page and “contact” page work great, but my “merch” and “activities” page are all messed up and are missing their appropriate background images and have unusual formatting. Any help would be much appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @weary123hi, welcome to the GitHub Support Community! GitHub Pages is a case sensitive file host. It looks like you’re referencing your image files like this:
However, that file is actually named |
Beta Was this translation helpful? Give feedback.
-
Oh, I see. Thank you! |
Beta Was this translation helpful? Give feedback.
Hi @weary123hi, welcome to the GitHub Support Community!
GitHub Pages is a case sensitive file host. It looks like you’re referencing your image files like this:
However, that file is actually named
Activities1.JPG
. You’ll need to edit your HTML so it matches the case in your filenames for your images to load correctly.