Support » Plugins » Theme Doesn’t Load CSS From Them Folder (GoDaddy)

  • Resolved danmatthews


    I’ve created a custom theme for my wordpress site that works perfectly on my local wordpress set-up, but when i upload it to my working site (hosted on godaddy), it won’t load the CSS file.

    I have tried linking directly to the CSS file in my header, i.e. by linking directly to /wp-content/themes/mytheme/style.css, rather than using the <?php bloginfo('stylesheet_url'); ?> function. And it still does not load, firebug shows that there is a 404 error when trying to call the stylesheet, as if it doesn’t exist.

    This started occuring shortly after i moved the index.php file away from the core wordpress files, i followed the instructions and my site/blog worked perfectly, but my custom theme wouldn’t load the CSS.

    I uninstalled wordpress, and re-installed it, keeping all the files in the same directory, and it works fine when just using the default theme, but will STILL not load the CSS file from my theme folder.

    If anybody could help, i’d be really greatful, thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Could you give a link?

    Currently it’s just running the default theme with a few blog entries. The theme i made is currently in the wp-content/themes/mytheme/ folder.

    You’ll need to activate your theme so I can see what it’s doing.

    Activating it now, seeing as how nobody goes on my site anyway.
    Hope you can help, thanks for trying.

    A-HA! fixed the issue.

    It seemed like navigating directly to the CSS file wasn’t allowed in the browser (i.e. like the file was read protected), and that’s why wordpress couldn’t read it.

    However, changing the permissions on the theme folder, by going to the file in the finder, opening up the ‘get info’ panel, and changing the permissions for ‘everybody’ to “read only” has solved the issue, and my theme has loaded.

    Thanks for the offer of help aaron, seems i was just being silly though, the most basic of things and i didn’t check it.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Theme Doesn’t Load CSS From Them Folder (GoDaddy)’ is closed to new replies.