Child theme CSS not loading
-
Hi guys. After the update I noticed that my blocksy-child CSS file not loading at all.
My blocksy-child CSS:
style.css
/** * Theme Name: Blocksy Child * Description: Blocksy Child theme * Author: Creative Themes * Template: blocksy * Text Domain: blocksy */ and custom css ...
My functions.php:
<?php if (! defined('WP_DEBUG')) { die( 'Direct access forbidden.' ); } add_action( 'wp_enqueue_scripts', function () { wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' ); });
Before update, the child css worked.
Updated from Version: 1.5.3 (if remember correctly) to 1.6.2.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Child theme CSS not loading’ is closed to new replies.