I’m working with a wordpress site. The CSS always loaded fine up until yesterday when things have been acting very strangley.
Across all browsers I tested, I have a problem where the css doesn’t always load. It simply brings up an undesigned page with only non-css styles in use.
Occasionally it does decide to load though which baffles me!
I’ve been researching solutions but don’t really know where to start on this one…I checked the w3 css validator and although there are many errors it finds the css fine.
Yeah, the CSS file is linked OK but has been nuked. I wonder if it’s the minifying process that’s doing it. Are you in control of that? What happens if the page isn’t minified?
An alternative might be to pull the CSS file out of the system and upload it to the server in a folder you control, and link to that instead.
I went to ‘minify settings’ and removed the main theme css from the files being minifed. This seems to have immediately fixed the problem so thanks ralph.m for the help.
However I don’t understand why this would have ‘randomly’ started happening as its been fine in the minify settings for some time, so any light on what the trigger was would be useful to stop it from happening again.