Twenty Twenty-One: A Deep Dive into the New Default WordPress Theme
* License: The license, which must be GNU.
* License URI: The link to information on the license.
Below that text, you can add your CSS blocks of declarations, as I’ll show you in a moment.
With Twenty Twenty-One, you’ll also need a functions.php file. So, create your own in the child theme’s directory, open it in your code editor, and add the following code:
get(‘Version’) );
add_action( ‘wp_enqueue_scripts’, ‘twentytwentyone_styles’);
As the Twenty Twenty-One theme uses get_template_directory() to load its stylesheet, you need to enqueue the child theme’s stylesheet using the wp_enqueue_scripts action.