• Does Simpleo V 1.0.4 support Child Themes? I have tried creating a Child Theme several times with no luck. I have made Child Themes before so I am not inclined to think I am making NOOB mistakes.

    Whenever I make active the Child Theme, the “look and feel” of the site itself is skewed. It looks nothing like the Parent Themes does when active. Same colors and fonts but the formatting…etc is gone.

    Please advise.

Viewing 1 replies (of 1 total)
  • I think you have to copy both the “css” and “js” directories from the the parent to the child theme’s directories.

    Looking at the simpleo-functions.php file I find that this theme adds stylesheets and scripts by specifying the path using the get_stylesheet_directory_uri() function like this.

    wp_enqueue_style ('basic', get_stylesheet_directory_uri() . '/css/basic.css');

    So this will create a URL like

    example.com/wp-content/simpleo-child/css/basic.css

    If you don’t wish to copy those directories you have to remove that entire function in the child theme’s functions.php like this

    remove_action('wp_enqueue_scripts','simpleo_add_script_function');

    This should run during the “after_theme_setup” action.

    Create a new function to enqueue the files using the get_template_directory_uri() function.

Viewing 1 replies (of 1 total)
  • The topic ‘Child Theme Supported for Simpleo Theme?’ is closed to new replies.