Child theme says missing stylesheet
-
Hello,
I’m fairly new to wordpress and have been having problems with the child theme. I created a child theme but it appears on the broken themes section saying that the stylesheet is missing. How can I solve this problem?functions.php
<?php
function enqueue_parent_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’)
);
}add_action (‘wp_enqueue_scripts’, ‘namescript_scripts_scripts’);
?>style.css
/*
Theme Name: Illdy
Theme URI: C:\xampp\htdocs\wordpress-4.7\wordpress\wp-content\themes\illdy
Author: Colorlib
Author URI: http://colorlib.com
Description: Illdy is a stunning multipurpose WordPress theme built based on Bootstrap frontend framework making it fully responsive and mobile friendly. This theme is well suited for business, landing page, portfolio or any other creative websites. This leaves heavy lifting to WordPress Customizer therefore you can create your website on live preview mode. Which means that you can see changes happen on your website in real time as you make them
Version: 1.0.35.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, e-commerce, portfolio
Text Domain: illdy@import url(“../illdy/style.css”);
*/
#header .bottom-header .header-button-two {
background: red !important;
}
The topic ‘Child theme says missing stylesheet’ is closed to new replies.