Title: newbie: child theme
Last modified: August 21, 2016

---

# newbie: child theme

 *  Resolved [Dirtydeeds](https://wordpress.org/support/users/dirtydeeds/)
 * (@dirtydeeds)
 * [12 years ago](https://wordpress.org/support/topic/newbie-child-theme/)
 * Hi.
 * I read a turtorial about childtheme and decided to make my own childtheme.
 * This is how i did…
    – created a folder justwrite-child. In the child folder i
   created style.css with following code:
 *     ```
       /*
        Theme Name:   Child theme - justwrite
        Template:     justwrite
       */
   
       @import url('../justwrite/style.css');
   
       .main-page-title .page-title {font-size: 16px;}
       ```
   
 * Unfortunatly this doesn’t change the font-size on the chosen class. What am I
   doing wrong?

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

 *  [salsaturation](https://wordpress.org/support/users/salsaturation/)
 * (@salsaturation)
 * [12 years ago](https://wordpress.org/support/topic/newbie-child-theme/#post-4834622)
 * Please give a link to your site
 *  Thread Starter [Dirtydeeds](https://wordpress.org/support/users/dirtydeeds/)
 * (@dirtydeeds)
 * [12 years ago](https://wordpress.org/support/topic/newbie-child-theme/#post-4834623)
 * acdcmachine.com/wp/
 *  [salsaturation](https://wordpress.org/support/users/salsaturation/)
 * (@salsaturation)
 * [12 years ago](https://wordpress.org/support/topic/newbie-child-theme/#post-4834625)
 * Is you child theme active as I can’t see a reference to it in your source code?
 *  Thread Starter [Dirtydeeds](https://wordpress.org/support/users/dirtydeeds/)
 * (@dirtydeeds)
 * [12 years ago](https://wordpress.org/support/topic/newbie-child-theme/#post-4834626)
 * yep it is
 *  [salsaturation](https://wordpress.org/support/users/salsaturation/)
 * (@salsaturation)
 * [12 years ago](https://wordpress.org/support/topic/newbie-child-theme/#post-4834628)
 * definitely not picking you child theme style.css. Activate the parent then activate
   the child again
 *  Thread Starter [Dirtydeeds](https://wordpress.org/support/users/dirtydeeds/)
 * (@dirtydeeds)
 * [12 years ago](https://wordpress.org/support/topic/newbie-child-theme/#post-4834649)
 * consider it done
 *  [salsaturation](https://wordpress.org/support/users/salsaturation/)
 * (@salsaturation)
 * [12 years ago](https://wordpress.org/support/topic/newbie-child-theme/#post-4834692)
 * copy the functions.php file and delete all the code to you child theme (if there
   is a <?php in the first line then leave that there) and try this code
 *     ```
       add_action('wp_enqueue_scripts', 'enqueue_my_scripts');
       function enqueue_my_styles() {
       wp_enqueue_style( 'child-theme', get_template_directory_uri() . '/style.css');
       }
       add_action('wp_enqueue_scripts', 'enqueue_my_styles');
       ```
   
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [12 years ago](https://wordpress.org/support/topic/newbie-child-theme/#post-4834763)
 * you will possibly need to use `get_stylesheet_directory_uri()` to enqueue the
   child theme’s style.css
 * [http://codex.wordpress.org/Function_Reference/get_template_directory_uri](http://codex.wordpress.org/Function_Reference/get_template_directory_uri)
   
   [http://codex.wordpress.org/Function_Reference/get_stylesheet_directory_uri](http://codex.wordpress.org/Function_Reference/get_stylesheet_directory_uri)
 *  Thread Starter [Dirtydeeds](https://wordpress.org/support/users/dirtydeeds/)
 * (@dirtydeeds)
 * [12 years ago](https://wordpress.org/support/topic/newbie-child-theme/#post-4834783)
 * Should it be something like this?
 *     ```
       @import url(<?php echo get_stylesheet_directory_uri() ?>/justwrite/style.css');
   
       /* =Theme customization starts here
       -------------------------------------------------------------- */
   
       .main-page-title .page-title { font-size: 1px! important;}
       ```
   
 *  [benshepp](https://wordpress.org/support/users/benshepp/)
 * (@benshepp)
 * [11 years, 12 months ago](https://wordpress.org/support/topic/newbie-child-theme/#post-4834799)
 * Hey folks.. the problem is in the Parent’s functions.php
 * You have to override the function that gets style sheets… The way its working
   in there is blocking child’s ability to use local .css!
 * [See my post here](https://wordpress.org/support/topic/newbie-child-theme/wordpress.org/support/topic/scaling-titles-headings?replies=4#post-5588366)
   for the fix…
 *  Thread Starter [Dirtydeeds](https://wordpress.org/support/users/dirtydeeds/)
 * (@dirtydeeds)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/newbie-child-theme/#post-4834801)
 * benshepp: i couldnt see your post in the link?
 *  Thread Starter [Dirtydeeds](https://wordpress.org/support/users/dirtydeeds/)
 * (@dirtydeeds)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/newbie-child-theme/#post-4834802)
 * But it seems to be fixed in the new justwrite version… Thanks admin 🙂

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

The topic ‘newbie: child theme’ is closed to new replies.

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

 * 12 replies
 * 4 participants
 * Last reply from: [Dirtydeeds](https://wordpress.org/support/users/dirtydeeds/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/newbie-child-theme/#post-4834802)
 * Status: resolved