CSS files not working on Github Pages

I deployed a design on Github Pages from a repo, but it seems like the main.css is not reading the two other css files (_fluids and _globals). How do I get this to work? Repo: https://github.com/AMarlonG/Intrinsic-fluid-web-design Deployment: https://amarlong.github.io/Intrinsic-fluid-web-design/
GitHub
GitHub - AMarlonG/Intrinsic-fluid-web-design: Intrinsic fluid web d...
Intrinsic fluid web design. Contribute to AMarlonG/Intrinsic-fluid-web-design development by creating an account on GitHub.
13 Replies
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Å Marlon G
Å Marlon G2y ago
Just updated it in VS Code and the repo (check the index.html) and still no change ...
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
nickymicky
nickymicky2y ago
you have to provide relative path for the CSS files like ./css/main.css as GitHub looks for the files in the current directory using relative paths
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
nickymicky
nickymicky2y ago
yeah, I had the same issue when I was still learning about GitHub😂
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
nickymicky
nickymicky2y ago
relatable🥹
Å Marlon G
Å Marlon G2y ago
... nope. Still no good. 😭
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Å Marlon G
Å Marlon G2y ago
Bam! There we go! Removed the _, and put main last. Maybe both helped, but I do think it makes sense with main being last indeed. Thank you guys! 🙌
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
nickymicky
nickymicky2y ago
yes, arrange those files in the same way you would arrange the css inside of them
Want results from more Discord servers?
Add your server