Create a file in your theme named functions.php. Add the code below. This
will load CSS you add to style.css into your custom theme.
<?php
// Enqueues style.css on the front.
if ( ! function_exists( 'mytheme_enqueue_styles' ) ) :
/**
* Enqueues style.css on the front.
* @return void
*/
function mytheme_enqueue_styles() {
wp_enqueue_style(
'mytheme-style',
get_parent_theme_file_uri( 'style.css' ),
array(),
wp_get_theme()->get( 'Version' ) ); } endif; add_action( 'wp_enqueue_scripts',
'mytheme_enqueue_styles' );