Home>Support>Site origin North theme

Site origin North theme

By SIERRA ODC, 7 years ago. Last reply by Alex S, 7 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. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 7 years, 2 months ago Alex S
    Hi, I Work Here

    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.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More