Title: Hard coded path for css file
Last modified: September 1, 2016

---

# Hard coded path for css file

 *  [cecheto](https://wordpress.org/support/users/cecheto/)
 * (@cecheto)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/hard-coded-path-for-css-file/)
 * In the infopopup.php file the css file path is hard coded to the wp-content directory
   and will show an error if you have personalized this folder.
    The line is number
   38 and it should be corrected to:
 * `wp_enqueue_style('infopopup-style', plugins_url( 'css/infopopup.css', __FILE__));`
 * [https://wordpress.org/plugins/infopopup/](https://wordpress.org/plugins/infopopup/)

The topic ‘Hard coded path for css file’ is closed to new replies.

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

 * 0 replies
 * 1 participant
 * Last reply from: [cecheto](https://wordpress.org/support/users/cecheto/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/hard-coded-path-for-css-file/)
 * Status: not resolved