Child Theme Issues - by john@niicorp.com

This topic has 4 replies, 2 voices, and was last updated 9 years, 9 months ago ago by Eva Kemp

  • Avatar: john@niicorp.com
    john@niicorp.com
    Participant
    January 29, 2015 at 01:14

    I’m having some issues with the child theme with Woopress.

    I’ve create a child theme folder in the theme directory – woopress_child

    I’ve added a sytle.css file in the child theme folder with the following:

    /*
    Theme Name: WooPress – 8theme WordPress theme
    Theme URI: https://www.8theme.com/
    Author: 8theme
    Author URI: http://themeforest.net/user/8theme
    Description: ThemeForest Premium Theme
    Version: 1.0
    Template: woopress
    */
    @import url(“../woopress/style.css”);

    However, when I activate the child theme everything is scrambled.

    Please advise and thank you for the support.

    3 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    January 29, 2015 at 09:12

    Hello,

    Please provide us with wp-admin panel and FTP credentials in Private Content.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: john@niicorp.com
    john@niicorp.com
    Participant
    January 31, 2015 at 22:44

    I resolved the issue by adding the code below to function.php and eliminating the import line in the child theme style.css.

    <?php
    add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ );
    function theme_enqueue_styles() {
    wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’ );
    }

    Thank you!

    Avatar: Eva
    Eva Kemp
    Support staff
    February 2, 2015 at 10:38

    Hello,

    That’s great you managed to solve the problem.

    Have a nice day.

    Regards,
    Eva Kemp.

  • Viewing 4 results - 1 through 4 (of 4 total)

The issue related to '‘Child Theme Issues’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.