Made a child theme for Storefront according to the instructions .
In the file / wp-content / themes / storefront / inc / class-storefront.php , styles and scripts are included . (line 204)
I need to add my own styles, for example bootstrap, copy the class-storefront.php file to my theme /wp-content/themes/mytheme/inc/class-storefront.php and leave only the function there
public function scripts() { global $storefront_version; /** * Styles */ wp_enqueue_style( 'bootstrap', get_template_directory_uri() . '/assets/css/bootstrap.min.css', array("storefront-style") ); } bootstrap in the head is not connected, put it in /wp-content/themes/storefront/assets/css/bootstrap.min.css and in /wp-content/themes/mytheme/assets/css/bootstrap.min.css anyway not connected
What is wrong with class-storefront.php?