I have some additional css styles appended in my child theme style.css file and it is not working.I tried to configure my function.php file for this but I got no luck.Can somebody help me work this out? Here are my codes. Thanks a lot for the help.

child-theme style.css

/*
  Theme Name: hueman child theme
  Theme URI: http://wordpress:8000/
  Description: This is the child theme hueman
  Author: Anonymous
  Author URI: http://anonymous.org
  Template: hueman
  Version: 1.0
*/
@import url("../hueman/style.css");
ol li{
font-family: Arial;
font-weight: normal;
font-size: 14px;
line-height: 20px;
color:red;
}
ol li:before{ content:"•"; font-size:10pt; padding: 5px 5px;}
ol li.other_link a{
color:#000;
}
ol li.other_link a:hover{
color:#E80000;
}

parent-theme functions.php

include_once( get_theme_root() . '/hueman-child/lib/my_functions.php');

child-theme my_functions.php

add_action('wp_enqueue_scripts','add_child_stylesheet');
function add_child_stylesheet(){
    //wp_enqueue_style('slug-name',get_stylesheet_directory_uri() . 'style.css');
    wp_enqueue_style( 'style.css', get_stylesheet_uri() );  
}

Read more here: Added css styles in wordpress child theme style.css not working


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Related Wordpress search:

, , , , , , ,

Wordpress related questions and answers: