Site css not loading

I’ve got a really strange one, and I cannot fathom it out.

I had a site on a dev url and it all works perfectly. I have moved it to the live domain, and the CSS isn’t loading.

The base url is correct and uncached:

<base href="[[!++site_url]]" />

I have emptied the core/cache directory.

I have cleared the cache.

I’ve checked other browsers/machines - all the same.

I’ve checked the config files to make sure the paths are all correct.

Ive re-run the setup

IN the source code, if I click the url of the css file, it loads fine.

I’ve searched the source code for any http:// references - but everything is https.

I can’t think of what else to check?

Any pointers as to what else could cause this?

Thanks!
Andy

So is this an external *.css file that is stored somewhere in the assets/ folder?
How exactly do you integrate this *.css into your site? With a <link ... /> tag?

When you open the developer tools in the browser, are there errors in the “Console” tab.
In the “Network” tab, is the request to the *.css file successful?

Thanks Harry - yes it’s just a. Linked in. I just this minute realised that it was a stray parentheses in my css towards the top which was breaking the css - there were no actual issues at all as such!

took ages but found it eventually. Apologies for posting here but I couldn’t think what was causing it

Just for potential future issues.

When the browser request a *.css file (that’s linked in the page) from the server, the server returns the file without running MODX. MODX is not involved in the process at all.
So doing things like clearing the MODX cache won’t change anything.

Ah that’s a very good point. Good to know. Thanks.