Title: Child Theme Setup Problems
Last modified: August 20, 2016

---

# Child Theme Setup Problems

 *  Resolved [goldmember](https://wordpress.org/support/users/goldmember/)
 * (@goldmember)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/child-theme-setup-problems/)
 * on [this site](http://dev.uniquerefinishing.net/), I have a theme called Cearti
   installed. I tried to create a child theme setup and it doesnt seem to be overriding
   the parent theme.
 * If I firebug the homepage, and click on the CSS tab, it shows the following:
 *     ```
       @import "http://dev.uniquerefinishing.net/wp-content/themes/Cearti/css/style.css";
       @import "http://dev.uniquerefinishing.net/wp-content/themes/Cearti/css/nivo-slider.css";
       @import "http://dev.uniquerefinishing.net/wp-content/themes/Cearti/css/orange.css";
       @import "http://dev.uniquerefinishing.net/wp-content/themes/Cearti/prettyPhoto/css/prettyPhoto.css";
       ```
   
 * So I want to override the /Cearti/css/style.css and the /Cearti/css/orange.css
   files.
 * So I created, and activated, a Ceartichild theme and in there I have these files:
   /
   themes/Ceartichild/style.css ([here’s the code](http://pastebin.com/KmfbpS6b))/
   themes/Ceartichild/css/orange.css ([here’s the code](http://pastebin.com/TtFf8HaF))
 * Please advise why the child theme style files are not overriding the parent theme.
   Thanks in advance.

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

 *  [anoleimaging](https://wordpress.org/support/users/anoleimaging/)
 * (@anoleimaging)
 * [14 years ago](https://wordpress.org/support/topic/child-theme-setup-problems/#post-2449220)
 * There are numerous questions such as this (which is the one I came here to post)
   in this forum without answers. Does no one know why our child themes don’t show
   up, despite following the child theme directions to the T?
 * Personally, I’m using Adventure Journal. I created a child theme and changed 
   to that theme, but the header of my pages still shows they are linked to “…adventure-
   journal/style.css” and NOT “…adventure-journal-child/style.css”.
 * Are there some themes that have a way of thwarting customization?!?
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years ago](https://wordpress.org/support/topic/child-theme-setup-problems/#post-2449221)
 * Not intentionally, no. Have you tried creating a child of the Twenty Eleven theme?
 *  [anoleimaging](https://wordpress.org/support/users/anoleimaging/)
 * (@anoleimaging)
 * [14 years ago](https://wordpress.org/support/topic/child-theme-setup-problems/#post-2449222)
 * Haven’t really been interested in 2011, but I have successfully added a child
   to Modularity Lite. So I’m aware it works in some instances…
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years ago](https://wordpress.org/support/topic/child-theme-setup-problems/#post-2449223)
 * The point of the exercise here is to see if you can successfully activate a child
   theme on that server/install.
 *  [anoleimaging](https://wordpress.org/support/users/anoleimaging/)
 * (@anoleimaging)
 * [14 years ago](https://wordpress.org/support/topic/child-theme-setup-problems/#post-2449224)
 * Yes, 2011 child works.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years ago](https://wordpress.org/support/topic/child-theme-setup-problems/#post-2449225)
 * Do you have the latest version of Adventure Journal?
 *  [anoleimaging](https://wordpress.org/support/users/anoleimaging/)
 * (@anoleimaging)
 * [14 years ago](https://wordpress.org/support/topic/child-theme-setup-problems/#post-2449235)
 * Sorry: missed the notice of this post.
 * Yes, 1.7.2 is what it says.
 *  [anoleimaging](https://wordpress.org/support/users/anoleimaging/)
 * (@anoleimaging)
 * [14 years ago](https://wordpress.org/support/topic/child-theme-setup-problems/#post-2449237)
 * And thus, another thread on the same topic goes unresolved.
 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [14 years ago](https://wordpress.org/support/topic/child-theme-setup-problems/#post-2449238)
 * We’re good, but definetly not mind readers or psychic. Can you provide a link
   via pastebin.com for your child theme’s style.css file?
 * That may help us identify or at least reproduce what you are seeing.
 * **Edit:** Or even better, the link to your actual site with the child theme if
   you can.
 *  [anoleimaging](https://wordpress.org/support/users/anoleimaging/)
 * (@anoleimaging)
 * [14 years ago](https://wordpress.org/support/topic/child-theme-setup-problems/#post-2449239)
 * Not to be a wise…acre about it, but that’s what questions are for. I just thought
   it had come up enough that *somebody* must have a solution.
 * Thanks for your assistance. I’ll start with the pastebin thing, I guess, and 
   you can tell me if it’s enough.
 * I tried to follow the child theme directions & I have other sites (with other
   themes) that work.
 * [This](http://pastebin.com/gHp40TiC) is the child css at
    /public_html/temp_wp/
   wp-content/themes/adventure-journal-child
 * Thanks again!
 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [14 years ago](https://wordpress.org/support/topic/child-theme-setup-problems/#post-2449240)
 * Okay, the [Adventure Journal](http://wordpress.org/extend/themes/adventure-journal)
   theme is a little different, but that’s not insurmountable.
 * The parent `style.css` is being loaded via `wp_enqueue_style()` and added to 
   the `wp_print_styles` action. That overrides the normal loading of the `style.
   css` file for the child theme.
 * To use the normal `style.css` you have to remove from the queue the parent `style.
   css` and add the child theme’s instead.
 * In your `adventure-journal-child` directory, put in this `style.css` file.
 * [http://pastebin.com/HJ6eWbgt](http://pastebin.com/HJ6eWbgt)
 * That is the same `style.css` file you’ve provided except I un-commented out the`
   @import` line.
 * Now create a `adventure-journal-child/functions.php` and put in these lines.
 *     ```
       <?php
       // Remove the Adventure Journal parent style.css and add the child theme's style.css
   
       add_action( 'wp_print_styles' , 'mh_remove_parent_css' , 50 );
       function mh_remove_parent_css() {
               wp_dequeue_style( 'theme' );
               wp_enqueue_style( 'child-theme' , get_bloginfo( 'stylesheet_directory' ) . '/style.css' , '' , '' );
       }
       ```
   
 * [http://pastebin.com/YnFYdvdV](http://pastebin.com/YnFYdvdV)
 * That will then let the CSS work as you expect it to. Your modifications will 
   now be applied from the child theme’s `style.css` file.
 *  [anoleimaging](https://wordpress.org/support/users/anoleimaging/)
 * (@anoleimaging)
 * [14 years ago](https://wordpress.org/support/topic/child-theme-setup-problems/#post-2449241)
 * Thank you! I’m going to believe you unconditionally for tonight and test in the
   morning.
 * What you’re saying is kind of what I was suspecting: that Adventure Journal theme
   has some sort of coding obstacle in the way of a normal child theme work-around.
   I just had no idea where to start looking.
 * Again, I appreciate your help and I’ll report back when I implement the above.
 *  [anoleimaging](https://wordpress.org/support/users/anoleimaging/)
 * (@anoleimaging)
 * [14 years ago](https://wordpress.org/support/topic/child-theme-setup-problems/#post-2449242)
 * Works just ducky!! Thank you again. Solved!
 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [14 years ago](https://wordpress.org/support/topic/child-theme-setup-problems/#post-2449243)
 * Great! Glad to help! And next time, start your own thread! 😀

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

The topic ‘Child Theme Setup Problems’ is closed to new replies.

## Tags

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

 * 14 replies
 * 4 participants
 * Last reply from: [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * Last activity: [14 years ago](https://wordpress.org/support/topic/child-theme-setup-problems/#post-2449243)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
