Child theme ? whats this all about?

how do i use childtheme right? i dont get it what i dont should change in the normal theme and what i should change in child theme.

is this like staging?

Hello @paulenders,

Thanks for writing in! :slight_smile:

Here’s generalized steps for creating child theme for any theme:

  1. Create a directory in your themes directory in wordpress: root/wordpress/wp-content/themes/Your-child-theme

  2. Create a style.css file in that directory.

  3. Open the newly created style.css file and add header information:

/*
    Theme Name: Your child theme name
    Author: Author name
    Template: Your parent theme name
*/
  1. Import the parent theme stylesheet, after the header add in your style.css:
    @import url('../Your_parent_theme/style.css');
    If your parent theme have only one stylesheet, then these steps are sufficient. Otherwise you can add multiple import statements.

Please check for more info: Child Themes

This isn’t like staging as staging is like a duplicate of your live website for testing any changes or major features: Staging Site

Hope it helps.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.