<?php
function ethartheme_child_enqueue_styles() {
    // parent theme css load
    wp_enqueue_style('parent-style', get_template_directory_uri() . '/style.css');

    // child theme style load
    wp_enqueue_style('child-style', get_stylesheet_directory_uri() . '/style.css', array('parent-style'), wp_get_theme()->get('Version'));
}
add_action('wp_enqueue_scripts', 'ethartheme_child_enqueue_styles');
