Function theme_enqueue_styles() for child css

My folder for my child themes is well composed of a file ‘style.css’ and ‘functions.php’
In my functions.php file I can not access my function theme_enqueue_styles() to use my custom css

add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
function theme_enqueue_styles() {
    wp_enqueue_style( 'parent-style', get_template_directory_uri() .'/style.css' );
}

Read more here: Function theme_enqueue_styles() for child css

Leave a Reply

Your email address will not be published. Required fields are marked *