This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Site origin North theme

8 years ago · Last reply by Alex S 8 years ago

Hi

We are using Site origin North theme

In this we have few below listed queries . Could you please clarify

We created a child theme as in http://sysres.net/demo/error/siteorigin-north-child.rar. But that throws error. Also footer CSS changed. Please refer attached screen shot http://sysres.net/demo/error/child-theme-error.png for the error and footer css issue

We have also attached the screen shot of the site http://sysres.net/demo/error/parent-theme-screenshot.png while using the parent theme

Could you please suggest how can we use a child theme

Thanks

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

1
  1. Alex S Staff 8 years, 7 months ago

    Hi SIERRA,

    Please open your child theme functions.php and replace:

    function siteorigin_north_child_enqueue_parent_style() {
        wp_enqueue_style( 'siteorigin-north-parent-style', get_template_directory_uri() . '/style.css' );
    }
    add_action( 'wp_enqueue_scripts', 'siteorigin_north_child_enqueue_parent_style' );

    With:

    function north_child_enqueue_parent_style() {
    	wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
    	wp_enqueue_style( 'child-style', get_stylesheet_uri(), array( 'parent-style' ) );
    }
    add_action( 'wp_enqueue_scripts', 'north_child_enqueue_parent_style', 8 );

Replies on this thread are closed.

Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Have a different question or issue?

Start New Thread