How to customize my style.css page on a child theme


I have included a child theme in my project, so that I can manipulate the css file. I have followed the instructions in creating a child theme and nothing seems to work. I have even installed a plug-in to delete the cache from the website. The code in my functions.php file is

add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' );

function my_theme_enqueue_styles() {
    wp_enqueue_style( 'main_css', get_template_directory_uri() . '/style.css' );

Please help as I have been trying to solve this for hours.

Thank you

Hello there,

I hope you are doing well today.

You can use the following plugin to create a child theme easily:

Best Regards,