Title: WP Network child theme issue
Last modified: August 21, 2016

---

# WP Network child theme issue

 *  Resolved [bondjack](https://wordpress.org/support/users/bondjack/)
 * (@bondjack)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/wp-network-child-theme-issue/)
 * Hi there,
 * I’m having the same problem. I have a WordPress Network that runs fine. If I 
   create a Child theme I can see it in the admin area and activate it. But the 
   CSS from the child style.css is not turning up on the frontpage it just shows
   its parents theme. It looks like the child css it is not loaded. I sheached in
   a lot of support forums already but no fix for me yet. Any one a clue?
 * Let me know what you want to know on my setup.
 * The development website is localy hosted.
    WP 3.6.1
 * Theme:
    /themes/letsrefine/ /themes/letsrefine-child/
 * child style.css:
 *     ```
       /*
        Theme Name:     Lets Refine Child
        Theme URI:      http://www.developersdomain.nl/wp-content/themes/letsrefine-child/
        Description:    Lets Refine Child Theme
        Author:         Jacob Christoffels & Bart van der Valk
        Author URI:     http://www.bondjack.nl
        Template:       letsrefine
        Version:        1.0.0
       */
       @import url("../letsrefine/style.css");
   
       /* Theme customization starts here
       -------------------------------------------------------------- */
   
       body {background-color: gray;}
   
       h1 {font-size: 100px !important;}
   
       /* ============ Orange image fill =========== */
   
       /* Sub-menu */
       .sub-menu-container {background-image: url(images/new-color-fill-orange.gif) !important;} 
   
       /* Layout dashboard */
       .dashboard {background-image: url(images/new-color-fill-orange.gif);}
   
       /* Archives */
       .divider {background-image: url(images/new-color-fill-orange.gif);}
   
       /* Recent Post block1 */
       #latest-0 {background-image:url(images/new-color-fill-orange.gif);}
   
       /* social media buttons share */
       .icons-text {background-image:url(images/new-color-fill-orange.gif);}
   
       /* footer */
       .footer-menu-container {background-image: url(images/new-color-fill-orange.gif);}
   
       /* ============ Orange color fill =========== */
       ```
   
 * Thx!

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

 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [12 years, 8 months ago](https://wordpress.org/support/topic/wp-network-child-theme-issue/#post-4226608)
 * View page source. What theme does it think it’s using?
 *  Thread Starter [bondjack](https://wordpress.org/support/users/bondjack/)
 * (@bondjack)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/wp-network-child-theme-issue/#post-4226693)
 * > View page source. What theme does it think it’s using?
 * Hi Ipstenu, I don’t see any reference to the child theme in the source code. 
   It looks like it isn’t there at all. But like I said it is active adn selected
   in the admin area.
 *  [ninjadan9](https://wordpress.org/support/users/ninjadan9/)
 * (@ninjadan9)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/wp-network-child-theme-issue/#post-4226729)
 * Hi, I’m having the same problem on my site. It seems like the child theme’s style.
   css file does not update the parent theme’s one.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/wp-network-child-theme-issue/#post-4226730)
 * **[@ninjadan9](https://wordpress.org/support/users/ninjadan9/)**: As per the 
   [Forum Welcome](http://codex.wordpress.org/Forum_Welcome#Where_To_Post), please
   post your own topic.
 *  [subigya](https://wordpress.org/support/users/subigya/)
 * (@subigya)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/wp-network-child-theme-issue/#post-4226732)
 * [@bondjack](https://wordpress.org/support/users/bondjack/), is the parent theme
   activated for that sub-site?
 *  [ninjadan9](https://wordpress.org/support/users/ninjadan9/)
 * (@ninjadan9)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/wp-network-child-theme-issue/#post-4226734)
 * I found a possible solution. Make sure you have
    `<link rel="stylesheet" type
   ="text/css" media="all" href="<?=bloginfo( 'stylesheet_url' ); ?>" />` in your
   parent theme’s header.php file. If it says `bloginfo('template_url');` then it
   needs to say `bloginfo('stylesheet_url');`.
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [12 years, 8 months ago](https://wordpress.org/support/topic/wp-network-child-theme-issue/#post-4226737)
 * > Hi Ipstenu, I don’t see any reference to the child theme in the source code.
   > It looks like it isn’t there at all. But like I said it is active adn selected
   > in the admin area.
 * Deactivate and reactive it?
 * I wonder if the parent theme doesn’t allow children. Try making a child theme
   off TwentyEleven for a test?
 *  Thread Starter [bondjack](https://wordpress.org/support/users/bondjack/)
 * (@bondjack)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/wp-network-child-theme-issue/#post-4226746)
 * > [@bondjack](https://wordpress.org/support/users/bondjack/), is the parent theme
   > activated for that sub-site?
 * Yes it is active.
 * > I found a possible solution. Make sure you have
   >  <link rel=”stylesheet” type
   > =”text/css” media=”all” href=”<?=bloginfo( ‘stylesheet_url’ ); ?>” /> in your
   > parent theme’s header.php file. If it says bloginfo(‘template_url’); then it
   > needs to say bloginfo(‘stylesheet_url’);.
 * I use the function.php file to get my css files
 *     ```
       <?php
       define("THEME_DIR", get_template_directory_uri());
       /*--- REMOVE GENERATOR META TAG ---*/
       remove_action('wp_head', 'wp_generator');
   
       // ENQUEUE STYLES
   
       function enqueue_styles() {
   
       	/** REGISTER css/screen.css **/
       	wp_register_style( 'main-style', THEME_DIR . '/style.css', array(), '1', 'all' );
       	wp_enqueue_style( 'main-style' );
   
       	wp_register_style( 'responsiveslides', THEME_DIR . '/stylesheets/responsiveslides.css', array(), '1', 'all' );
       	wp_enqueue_style( 'responsiveslides' );
   
       	wp_register_style( 'skeleton', THEME_DIR . '/stylesheets/skeleton.css', array(), '1', 'all' );
       	wp_enqueue_style( 'skeleton' );
   
       }
       add_action( 'wp_enqueue_scripts', 'enqueue_styles' );
       ```
   
 * So I cant chang template_url to stylesheet_url because I dont use this var but
   you gave me some stuff to think about. I dont use a function.php file in my child
   theme, I might need to put one there to as the style sheets are loaded there.
   Ill get back.
 *  Thread Starter [bondjack](https://wordpress.org/support/users/bondjack/)
 * (@bondjack)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/wp-network-child-theme-issue/#post-4226749)
 * Hi guys, I fixed it.
 * I changed the first second line of my functions.php file.
    old: `define("THEME_DIR",
   get_template_directory_uri());`
 * new:
    `define("THEME_DIR", get_stylesheet_directory_uri());`
 * Thx guys for getting me on ther right path!

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

The topic ‘WP Network child theme issue’ is closed to new replies.

## Tags

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

 * In: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
 * 9 replies
 * 5 participants
 * Last reply from: [bondjack](https://wordpress.org/support/users/bondjack/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/wp-network-child-theme-issue/#post-4226749)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
