Title: 404 error for custom.css
Last modified: February 16, 2019

---

# 404 error for custom.css

 *  Resolved [Dave Lozier](https://wordpress.org/support/users/dave-lozier/)
 * (@dave-lozier)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/404-error-for-custom-css/)
 * In controllers/depc-controller-public.php a stylesheet is being added that does
   not exist.
 * wp_enqueue_style(‘custom-css’, get_template_directory_uri() . ‘/custom.css’);
 * I’m using a child theme so this is trying to pull the stylesheet from the wrong
   location, even if I had created it. ( get_stylesheet_directory_uri() is used 
   in child theme )

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [webnus](https://wordpress.org/support/users/webnus/)
 * (@webnus)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/404-error-for-custom-css/#post-11253863)
 * Hi Dave,
    Thank you for your report, it will be fixed in its upcoming updates.
   Sorry for the inconvenience caused.
    -  This reply was modified 7 years, 3 months ago by [webnus](https://wordpress.org/support/users/webnus/).

Viewing 1 replies (of 1 total)

The topic ‘404 error for custom.css’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/deeper-comments_f4f4f4.svg)
 * [Deeper Comments](https://wordpress.org/plugins/deeper-comments/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/deeper-comments/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/deeper-comments/)
 * [Active Topics](https://wordpress.org/support/plugin/deeper-comments/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/deeper-comments/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/deeper-comments/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [webnus](https://wordpress.org/support/users/webnus/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/404-error-for-custom-css/#post-11253863)
 * Status: resolved