I am having the same problem with a theme I recently purchased. I tried the fix stated above but it still made my WordPress site crash.
The theme I have purchased is Fox: https://themeforest.net/item/fox-wordpress-theme/full_screen_preview/3128968
I do my usual steps of creating a new directory “fox-child”, then create the stylesheet within that:
/*
Theme Name: fox Child
Theme URI:
Description: Child theme for the fox theme
Author: My name
Author URI:
Template: fox
Version: 0.1.0
*/
@import url("../fox/style.css");
My first assumption of why this wasn’t working is because this is what is in the parent themes style.css :
/*
Theme Name: Fox
Theme URI: https://www.luiszuno.com/themes/wp-fox
Description: A gorgeus Retro Style Theme
Author: Luis Zuno
Author URI: https://luiszuno.com
Version: 1.1.3
License: Regular
License URI: https://themeforest.net/licenses/regular_extended
.
Buy this template at https://luiszuno.com/blog/work
.
*/
/*wp*/
.sticky{}
.gallery-caption{}
.bypostauthor{}
/* IMPORT MAIN STYLES */
@import url('css/style.css');
So all the parent theme’s style.css is doing is referencing a css directory within the parent theme with a stylesheet named style.css that starts out like this:
@import url('normalize.css');
@import url('main.css');
@import url('superfish.css');
@import url('social.css');
@import url('widgets.css');
@import url('forms.css');
@import url('comments.css');
@import url('entry-content.css');
@import url('shortcodes.css');
@import url('dribbble.css');
Below these @ imports are a couple hundred lines of generic css.
So that brings me to today… I found this forum about the functions.php issue about this:
$functions_path = get_stylesheet_directory() . ‘/functions/’;
I tried taking the course of action stated above, but this didn’t help me either. I am ready to give up on this theme, but I have run into this problem before and would like to learn how to solve it.
Sorry for the long post. Thanks, Nick