WordPress.org

Support

Support » Themes and Templates » Child Themes

Child Themes

  • This is an excellent theme! Love the responsive feature.
    It is also very customizable.
    However, I have created a child theme and find that the child theme styles are not being used.
    I’ve created child themes in the past of other WP themes so I am pretty sure I’ve set it up correctly. Is there something written into this theme to not allow child themes?
    Otherwise it must just be me and I will try to figure what I’m doing wrong.
    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hermelijn
    Member

    @studiozubli

    I have the exact same problem. Took me half a day to figure out that it wasn’t my coding.
    tjwest, have you found a solution yet?

    Dustin Hartzler
    Participant

    @dustinhartzler

    I had to add the following code to a child functions.php file:

    <?php
    function northern_theme_child_styles()
    {
       wp_register_style( 'screen-style', get_stylesheet_uri());
       wp_enqueue_style( 'screen-style' );
    
    }
    add_action('wp_print_styles', 'northern_theme_child_styles');
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Child Themes’ is closed to new replies.