Title: Child theme import &#8211; import function versus enqueue
Last modified: August 30, 2016

---

# Child theme import – import function versus enqueue

 *  Resolved [Koesterandersen](https://wordpress.org/support/users/koesterandersen/)
 * (@koesterandersen)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/child-theme-import-import-function-versus-enqueue/)
 * Hi Alexander
 * I have just installed the child theme to Hueman, and in the css the [@import](https://wordpress.org/support/users/import/)
   url function is preset.
 * I have been reading a lot of posts and texts about this function and as far as
   I can understand it is better to use the unqueue function.
 * In the child theme I have deleted the @ import function and instead I have put
   the below code into the functions.php file.
 * I have made a little test and it works fine – so far. Will this be an ok way 
   to connect the child theme to the parent theme.
 * add_action( ‘wp_enqueue_scripts’, ‘enqueue_parent_theme_style’ );
    function enqueue_parent_theme_style(){
   wp_enqueue_style( ‘parent-style’, get_template_directory_uri().’/style.css’ );}
 * Thanks in behorehand and very thank you for a great theme

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [bdbrown](https://wordpress.org/support/users/bdbrown/)
 * (@bdbrown)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/child-theme-import-import-function-versus-enqueue/#post-6224700)
 * H Koesterandersen. Here’s [another thread](https://wordpress.org/support/topic/alternative-to-import-in-hueman-child-themes?replies=20)
   that discusses the same question.
 *  Thread Starter [Koesterandersen](https://wordpress.org/support/users/koesterandersen/)
 * (@koesterandersen)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/child-theme-import-import-function-versus-enqueue/#post-6224733)
 * Thank you for your link.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Child theme import – import function versus enqueue’ is closed to new
replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/hueman/3.7.27/screenshot.png)
 * Hueman
 * [Support Threads](https://wordpress.org/support/theme/hueman/)
 * [Active Topics](https://wordpress.org/support/theme/hueman/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/hueman/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/hueman/reviews/)

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [Koesterandersen](https://wordpress.org/support/users/koesterandersen/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/child-theme-import-import-function-versus-enqueue/#post-6224733)
 * Status: resolved