Title: Updated version does not insert import url
Last modified: August 24, 2016

---

# Updated version does not insert import url

 *  [designbypepper](https://wordpress.org/support/users/designbypepper/)
 * (@designbypepper)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/updated-version-does-not-insert-import-url/)
 * what happened to this line of code in the child css header: [@import](https://wordpress.org/support/users/import/)
   url(“../parent-theme/style.css”); ?
 * it used to be there but now it isn’t and it’s creating chaos in the community.
 * need to add this to to child theme css
 * [@import](https://wordpress.org/support/users/import/) url(“../parent-theme/style.
   css”);
 * [https://wordpress.org/plugins/one-click-child-theme/](https://wordpress.org/plugins/one-click-child-theme/)

Viewing 1 replies (of 1 total)

 *  [ameenadata](https://wordpress.org/support/users/ameenadata/)
 * (@ameenadata)
 * [11 years ago](https://wordpress.org/support/topic/updated-version-does-not-insert-import-url/#post-6086962)
 * Maybe this is why:
 * > Note that the previous method was to import the parent theme stylesheet using
   > [@import](https://wordpress.org/support/users/import/): this is no longer best
   > practice. The correct method of enqueuing the parent theme stylesheet is to
   > add a wp_enqueue_scripts action and use wp_enqueue_style() in your child theme’s
   > functions.php.
 * [https://codex.wordpress.org/Child_Themes](https://codex.wordpress.org/Child_Themes)

Viewing 1 replies (of 1 total)

The topic ‘Updated version does not insert import url’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/one-click-child-theme_bea7a0.svg)
 * [One-Click Child Theme](https://wordpress.org/plugins/one-click-child-theme/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/one-click-child-theme/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/one-click-child-theme/)
 * [Active Topics](https://wordpress.org/support/plugin/one-click-child-theme/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/one-click-child-theme/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/one-click-child-theme/reviews/)

## Tags

 * [child theme](https://wordpress.org/support/topic-tag/child-theme/)
 * [Import](https://wordpress.org/support/topic-tag/import/)

 * 1 reply
 * 2 participants
 * Last reply from: [ameenadata](https://wordpress.org/support/users/ameenadata/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/updated-version-does-not-insert-import-url/#post-6086962)
 * Status: not resolved