Make File - style.css with code
Change the template name to the folder name of your parent theme
/*
Theme Name: My Child Theme
Theme URI: https://www.website-name.com/my-child-theme/
Description: A child theme of the parent theme
Author: Your Name or Company Name
Author URI: https://www.website-name.com/
Template: parent-theme
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
============================
Make File - functions.php With code
<?php
add_action( 'wp_enqueue_scripts', 'my_child_theme_enqueue_styles' );
function my_child_theme_enqueue_styles() {
wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
wp_enqueue_style( 'child-style', get_stylesheet_directory_uri() . '/style.css', array(
'parent-style' ) );
}