A child theme consists of at least one directory (the child theme directory) and two files (style.css and functions.php), which you will need to create:

The child theme directory:
style.css
functions.php

The first step to create a child theme is to create the child theme directory, which will be placed in wp-content/themes. It is recommended (though not required, especially if you’re creating a theme for public use) that the name of your child theme directory is appended with ‘-child’. You will also want to make sure that there are no spaces in your child theme directory name, which may result in errors. In the screenshot above, we called our child theme ‘twentyfifteen-child’, with the parent theme the Twenty Fifteen theme.

The next step is to create your child theme’s stylesheet (style.css). The stylesheet must begin with the following (the stylesheet header):

/*
Theme Name: WD OSWAD MARKET CHILD
Description: Child theme for the OswadMarket
Author: wpdance.com
Template: wp_oswad_market
*/

  • You will need to replace the example text with the details relevant to your theme.
  • The Template line corresponds to the directory name of the parent theme. The parent theme in our example is the WD OSWAD MARKET theme, so the Template will be wp_oswad_market. You may be working with a different theme, so adjust accordingly.

Create the functions.php file with the contents:

add_action(‘wp_enqueue_scripts’, ‘wd_child_theme_add_scripts’);
function wd_child_theme_add_scripts(){
wp_register_style(‘parent-style’, get_template_directory_uri().’/style.css’);
wp_enqueue_style(‘parent-style’);
}

Now, you can activate the child theme and add the css customize to the style.css file, add the php code to the functions.php file.

Read more about how to create child theme from this link:

https://codex.wordpress.org/Child_Themes