Okay
  Public Ticket #1133688
Broken Child Theme
Closed

Comments

  • Linh Phan started the conversation

    The problem happens when i use child theme. Home page shows the html code.

  •  1,798
    Support Agent replied

    Hi Linh,

    Thank you for purchasing our theme.

    In order to use child theme, please refer to the following article: I want to use a child theme. How can I do that?

    Also, make sure to add the functions.php file, with the following code:

    <?php
    function theme_enqueue_styles() {
        $parent_style = 'parent-style';
        wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.crush.css' );
        wp_enqueue_style( 'child-style',
            get_stylesheet_directory_uri() . '/style.css',
            array( $parent_style )
        );
    }
    add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
    ?>
    

    Should you need additional help, let us know.

    Regards, BoldThemes team

    If you like our products please consider leaving us a rating. A huge thank you from BoldThemes in advance!

  • Tyler replied

    I am experiencing the same problem when activating the child theme for Shopscape v1.0.4.

    LAMP env, WP 4.7.5 , WooCommerce 3.0.1

    I have followed the step provided above and have not resolved the issue. I have also tried several other workarounds to no avail.

    Please advise. 



  •  1,798
    Support Agent replied

    Hi Tyler,

    We replied in your other tickets.

    Regards, BoldThemes team

    If you like our products please consider leaving us a rating. A huge thank you from BoldThemes in advance!