Viewing 2 replies - 1 through 2 (of 2 total)
  • this simplified enqueuing of the child stylesheet works for me:

    /*twentytwentyonechild functions*/
    function twenty_twenty_one_child_style() {
    	wp_enqueue_style( 'child-style', get_stylesheet_uri() );
    }
    
    add_action( 'wp_enqueue_scripts', 'twenty_twenty_one_child_style', 20 );
    
    Thread Starter rolfeyule

    (@rolfeyule)

    Thank you so much, Michael, I had missed something in the script, the get(‘version’).

    And honestly, I still don’t understand how you got there… And I just realised there are plugin to instal child theme…

    THANK YOU! I went crazy yesterday! I will have a calm day today due to you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Child theme Problem’ is closed to new replies.