Title: Child theme css loading twice.
Last modified: August 22, 2016

---

# Child theme css loading twice.

 *  [robtbm](https://wordpress.org/support/users/robtbm/)
 * (@robtbm)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/child-theme-css-loading-twice/)
 * Hi, I seem to have a problem with the child them css loading twice. I have added
   the code mentioned above to the childs functions.php
    Instructions were followed
   from thread: [https://wordpress.org/support/topic/create-child-theme-2?replies=7](https://wordpress.org/support/topic/create-child-theme-2?replies=7)
 *     ```
       <?php
   
       add_action( 'wp_enqueue_scripts', 'enqueue_child_theme_styles', PHP_INT_MAX);
       function enqueue_child_theme_styles() {
           wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' );
           wp_enqueue_style( 'child-style', get_stylesheet_uri(), array('parent-style')  );
       }
       ```
   
 * Sites Head
 *     ```
       <link rel='stylesheet' id='flat-style-css'  href='http://www.site.com/blog/wp-content/themes/flat-child/style.css?ver=1.5.5' type='text/css' media='all' />
       <link rel='stylesheet' id='parent-style-css'  href='http://www.site.com/blog/wp-content/themes/flat/style.css?ver=4.1' type='text/css' media='all' />
       <link rel='stylesheet' id='child-style-css'  href='http://www.site.com/blog/wp-content/themes/flat-child/style.css?ver=4.1' type='text/css' media='all' />
       ```
   

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

 *  Thread Starter [robtbm](https://wordpress.org/support/users/robtbm/)
 * (@robtbm)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/child-theme-css-loading-twice/#post-5788905)
 * Instructions were followed from thread: [https://wordpress.org/support/topic/create-child-theme-2?replies=7](https://wordpress.org/support/topic/create-child-theme-2?replies=7)
 *  [SlouchyFlower](https://wordpress.org/support/users/slouchyflower/)
 * (@slouchyflower)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/child-theme-css-loading-twice/#post-5789270)
 * I assume by now you’ve resolved this…but just in case, here’s a related thread
   that may help you: [http://wordpress.stackexchange.com/questions/167639/why-does-my-child-theme-css-get-called-twice](http://wordpress.stackexchange.com/questions/167639/why-does-my-child-theme-css-get-called-twice)

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

The topic ‘Child theme css loading twice.’ is closed to new replies.

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

 * 2 replies
 * 2 participants
 * Last reply from: [SlouchyFlower](https://wordpress.org/support/users/slouchyflower/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/child-theme-css-loading-twice/#post-5789270)
 * Status: not resolved