Can’t make Child Theme Word

Home Support eCommerce Gem Can’t make Child Theme Word


This topic contains 3 replies, has 2 voices, and was last updated by   2 months, 1 week ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #10561


    Hi there,
    I’m currently trying to set up a child theme for this theme but can’t make it work.
    I’ve added a new folder in Theme directory called “ecommerce-gem_child” and functions.php and style.css files.
    In the style.css I’ve added the opening like this:
    Theme Name: eCommerce Gem – Child Theme
    Theme URI:
    Author: Promenade Themes
    Author URI:
    Description: Default eCommerce Gem child theme
    Template: ecommerce-gem

    But yet when i activate the child theme everything messes up.
    What am I doing wrong?




    I’ve managed to make it work.
    I’ve added the code to functions:

    add_action( ‘wp_enqueue_scripts’, ‘my_theme_enqueue_styles’ );
    function my_theme_enqueue_styles() {
    wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’ );

    add_action( ‘wp_enqueue_scripts’, ‘my_theme_enqueue_styles’ );
    function my_theme_enqueue_styles() {

    $parent_style = ‘parent-style’; // This is ‘twentyfifteen-style’ for the Twenty Fifteen theme.

    wp_enqueue_style( $parent_style, get_template_directory_uri() . ‘/style.css’ );
    wp_enqueue_style( ‘child-style’,
    get_stylesheet_directory_uri() . ‘/style.css’,
    array( $parent_style ),


    Hello Filly,

    We apologize for not being able to respond earlier.
    Past below code in your child theme’s functions.php.

    function ecommerce_gem_scripts() {
     wp_enqueue_style( 'ecommerce-gem-parent-style', get_template_directory_uri() . '/style.css' );
    add_action( 'wp_enqueue_scripts', 'ecommerce_gem_scripts' );

    It might be helpful to you.


    Team ProDesigns

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.