Running WP on WPEngine, WP 6.2, PHP 8. I’ve created a custom child theme based on a purchased HTML 5 responsive template and I’m trying to integrate it with WordPress & Woo Commerce.
No small task I know, it can get tricky in here.
The child theme is created fine, and I created a page, call it “landing-page” and I’ve selected the child theme as the theme for this page.
Now when I edit the page inside wp-admin and add some Genesis blocks to it, then when I go preview it, the css for those is not coming in to the page header.
For example I made a Notice panel (with /notice feature) but then the CSS isn’t there to make it look how it looks in the parent theme. Looks great in WP-Admin and it looks the same on a sample page in the parent Storefront theme on a “regular” page using the “parent theme” – but just on my child theme those styles are getting left out somehow.
It looks like the notice panel css is coming into a css tag rendered inline in the head of the document but I can’t find the proper method to inject it into the child themes functions.php or index.php.
When I search online for this problem, the answers are all describing how to use genesis blocks to insert content into the page, and nobody seems to show how to get genesis block CSS into your child theme correctly.
[ad_2]
>*I’ve created a custom child theme based on a purchased HTML 5 responsive template*
What did you do exactly? How did you create the child theme?