Need help applying CSS to my website #44522
-
GitHub Pages CSS Question BodyHi, new to GitHub and I'm a little confused as to what as going wrong with my GitHub Pages. I have created a repo with all of my website files, I've followed the docs to get my page working, but for some reason it seems to just be my basic index.html without all my CSS works. I found a forum post that had a similar issue, I tried following the help suggested there but couldn't seem to get it to work. Just not sure if I'm missing something or what, any help would be great thanks! Here's a link to my repo: |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 18 replies
-
You could try bringing your style.css out into the main part of your repo along with your index.html |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
When I view your index.html in your repo, its like this: But viewing page source from the actual deployed site, its showing: I dont know why this is, unless your index.html isn't getting updated correctly. |
Beta Was this translation helpful? Give feedback.
You could try bringing your style.css out into the main part of your repo along with your index.html
and change the link to:
<link href="style.css" rel="stylesheet">
That should work.