Netlify failing to load CSS


I’m experiencing the same issue with the last 2 websites I deployed on Netlify.
Site names are : +

Both sites are building correctly, but it appears that Netlify is failing to load the CSS.
I’ve set up my CSS file (style.css) as per usual, in my root folder. I’ve seen developers on other threads managed to solve that same problem by removing the build command and redeploying their site, but no build command is defined on my end.

Thank you very much for your help,

HI @the-web-tailor,

Thanks for reaching out!

Could you clarify what kind of site this is? As you mentioned there’s no build command. Looking at the index.html file I’m not seeing anything in the <head></head>, so no Link to the style.css file.

1 Like

That may be the case, but whatever you’re deploying isn’t properly processed build output, they’re source files, the dead giveaway being that they aren’t actually HTML pages and both contain frontmatter.

You should check your Build configuration.

Make sure the correct Build command is running, that the build actually is running and that your Publish directory is set correctly.

1 Like