I’m having a frustrating issue with my Neocities site. My CSS works perfectly fine locally in VS Code, but when I upload it to Neocities, it doesn’t apply at all.
In my root directory, I only have index.html, not_found.html, and robots.txt, while all my other HTML, CSS, and image files are in folders. I’ve double-checked the file paths, and everything seems to be uploaded correctly.
Has anyone else run into this? Any tips would be super appreciated!
This sounds like a browser caching issue. When you reload your neocities page, try using Ctrl+shift+R to force the browser to pull new files from neocities.
If yequari’s suggestion doesn’t work, make sure all your filepaths look like "/folder/file.png" , with the slash up front. I’ve noticed while editing locally my computer doesn’t always require me to put that slash, but neocities certainly does.
i’m not sure what’s in the reset.css, but maybe having that after index.css is making it undo what’s in the index? if you switch the the order so it’s reset.css and then index.css