Hello,
I use Directory Starter a child theme on a multisite. Any css changes I make I want to go directly into the Child theme style.css file so it is available to all of the network. No matter what I do I can’t seem to get it to work. I’ve read over tons of support forums and I must be missing something fundamental!
I’ve used something like:
function example_enqueue_styles() {
// enqueue parent styles
wp_enqueue_style(‘directory-starter’, get_template_directory_uri() .’/style.css’);
// enqueue child styles
wp_enqueue_style(directory-starter-child’, get_stylesheet_directory_uri() .’/style.css’, array(‘directory-starter’));
}
add_action(‘wp_enqueue_scripts’, ‘example_enqueue_styles’);
But it’s not working! I’m not sure if I am supposed to use the theme name in the code or not. Can you tell me what I am doing wrong
medrate.asia/sg