Restaurant Recipe’s child theme was made.
Described in style.css
/*
Theme Name: Restaurant Recipe Child Theme
Template: restaurant-recipe
Description: Restaurant Recipe Child Theme
*/
functions.php
<?php
add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
function theme_enqueue_styles() {
wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
wp_enqueue_style( 'child-style', get_stylesheet_directory_uri() . '/style.css', array('parent-style')
);
}
There is nothing in style.css. But the layout was broken.
See the image.
Do you officially distribute child themes?
What should I do?