Azharkamar.com

How to Fix WordPress Theme CSS Not Loading

Blog
11 Dec 2017
Comment

One of my site advertisers informed me one day that my site was down so I did a check and found out that my CSS was not loading. I viewed the source of my home page and clicked the CSS links and discovered that only my WordPress theme’s style.css was not loading.

So I messed around and tried many methods and there was one that worked – delete my .htaccess file. The .htaccess file inside my theme folder.

I have no idea why, but it worked. My site’s CSS is now loading fine and the only negative consequence of deleting my .htaccess file is that now, my custom font Open Sans isn’t loading correctly. So now I’m off to fix this. Well at least this error is the lesser of the two evils.

Author - Azhar Kamar

Write a Comment! NOW! :)

Current ye@r *