Support » Themes and Templates » Child Theme problem

  • Resolved dreads

    (@dreads)


    I have this prob with the child theme ive created.Although i create a child theme with the method described at wordpress child theme tutorial (style.css,functions.php),when i activate the child theme it’s style is The parent’s theme default style and customization settings and doesnt include the theme customizations ive made to the parent theme.
    As soon as i activate the parent theme again,the theme customizations ive made to it are there.
    The theme’s template is onepress.
    The functions.php file i ve made in the child themes directory is:
    <?php
    add_action( ‘wp_enqueue_scripts’, ‘enqueue_parent_styles’ );

    function enqueue_parent_styles() {
    wp_enqueue_style( ‘parent-style’, get_template_directory_uri().’/style.css’ );
    }
    ?>

    and the style.css ive made in the child themes directory is :

    /*
    Theme Name: test
    Theme URI: http://test.gr
    Description: test Theme
    Author: testing
    Author URI: http://asdf.gr
    Template: onepress
    Version: 0.1
    */

Viewing 1 replies (of 1 total)
  • I’ve done several sites with child themes as well and need help too. I’m getting totally screwy results with onepress (a theme WHICH I LOVE).

    Any insight would be helpful.

Viewing 1 replies (of 1 total)
  • The topic ‘Child Theme problem’ is closed to new replies.