Hi, I’m new to Generate Press. Just got started with GP Premium and wanted to test out GP’s child theme that I had downloaded. When I first attempted to install the child theme, I got an error–something about a missing ‘style.css’ file. So I followed the instructions and add the code below (to the parent functions.php:
add_action( 'wp_enqueue_scripts', function() {
wp_dequeue_style( 'generate-child' );
}, 50 );
The child theme got installed with no issue. However, I noticed none of the CSS code I put into the child theme’s style.css worked. After some tweaking, I removed the PHP code from the parent’s functions.php file, and the child theme’s style.css suddenly worked.
Is that just a one-time glitch? Or something else? I have only used GP locally.