Wordpress儿童主题style.css已停止工作

really hoping someone can please help me! I just updated the Divi parent theme on my Wordpress site (www.ellymacdonalddesign.com), and the child CSS theme seems to have stopped working.

I've tried the solutions from this question, but they do not seem to work for me: Wordpress child theme style.css not working

My child functions.php file is currently:

<?php
function my_theme_enqueue_styles() {
    $parent_style = 'divi-style'; 
    wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css' );
    wp_enqueue_style( $child-style, get_stylesheet_uri() );
}
?>

Would really appreciate any guidance please, thank you in advance, Elly

Is your variable $child-style have any value? According to document, the handle name (first parameter) is required. That's why your child theme still not working.

Try below code to see if it's work:

add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' );
function my_theme_enqueue_styles() {
    $parent_style = 'divi-style'; 
    $child_style = 'divi-style-child'; 
    wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css' );
    wp_enqueue_style( $child_style, get_stylesheet_uri() );
}