Forum Replies Created

Viewing 1 post (of 1 total)
  • in reply to: cannot override Responsive.css file #197562
    studio34
    Member
    Post count: 1

    I am not a fan of having CSS put in any sort of Dashboard panel. It’s impossible to maintain. I used the following in my functions.php file to ensure that the child theme was added last.

    	function nhood_child_enqueue_styles() {
    		wp_enqueue_style( 'nhood-child-style', get_stylesheet_directory_uri() . '/style.css' );
    		
    	}
    	add_action( 'wp_enqueue_scripts', 'nhood_child_enqueue_styles', 100 );
    

    It’s not ideal as your child theme style gets loaded twice, but it works for me.

Viewing 1 post (of 1 total)