Title: CSS file Not Found
Last modified: August 20, 2016

---

# CSS file Not Found

 *  Resolved [coche](https://wordpress.org/support/users/coche/)
 * (@coche)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/css-file-not-found/)
 * Hi,
    I’m getting an error “404 Not Found” with the CSS file used by my webfont.
 * The CSS file is loaded properly in the home page of my website: [http://cochesaurus.com](http://cochesaurus.com)
 * But when you click one of the posts titles, the link to the stylesheet is broken,
   and I get an error, e.g.
    “NetworkError: 404 Not Found – [http://cochesaurus.com/2012/03/mudjungle/MyFontsWebfontsKit.css&#8221](http://cochesaurus.com/2012/03/mudjungle/MyFontsWebfontsKit.css&#8221);
 * The CSS file is located in the root folder of my website.
 * Thanks for consider my problem. Any help is appreciated.
 * Best regards

Viewing 1 replies (of 1 total)

 *  Thread Starter [coche](https://wordpress.org/support/users/coche/)
 * (@coche)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/css-file-not-found/#post-2648532)
 * Hi,
    I just resolved it, you only need to add the complete uri, like this: [http://cochesaurus.com/MyFontsWebfontsKit.css](http://cochesaurus.com/MyFontsWebfontsKit.css)
 * My code looks like this:
    function webfont_link() { echo <<<EOB <link rel=”stylesheet”
   type=”text/css” href=”[http://cochesaurus.com/MyFontsWebfontsKit.css&#8221](http://cochesaurus.com/MyFontsWebfontsKit.css&#8221);/
   > EOB; } add_action(‘wp_head’, ‘webfont_link’);
 * Hope this helps to somebody with this same problem.
    Regards

Viewing 1 replies (of 1 total)

The topic ‘CSS file Not Found’ is closed to new replies.

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)
 * [found](https://wordpress.org/support/topic-tag/found/)
 * [not](https://wordpress.org/support/topic-tag/not/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [coche](https://wordpress.org/support/users/coche/)
 * Last activity: [14 years, 1 month ago](https://wordpress.org/support/topic/css-file-not-found/#post-2648532)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
