Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

can’t get kadence stylesheet to load when using child theme

Home / Forums / Kadence Theme / can’t get kadence stylesheet to load when using child theme

This topic is: Awaiting Feedback
[Awaiting Feedback]
Posted in: Kadence Theme

Tagged: 

September 17, 2021 at 10:17 am

Just trying to set up a simple child theme so I can add the Google Analytics tag in the header with a php function in functions.php without worrying about losing the function every time I update Kadence.

But for the life of me I cannot get the Kadence styles to load when I select my child theme. I’ve done this plenty of times before with other themes and I’ve gone over every inch of my code but still can’t get those styles to load. What am I doing wrong?

I created a directory in the wp-content/themes folder called “kadence-child.” In that directory I added a file “styles.css”:

Then I added a file “functions.php”:

I’ve confirmed the kadence theme is in wp-content/themes/kadence. When I go to Appearance>Themes in my WordPress dashboard and select the “live preview” button on the child theme box, none of the customizations I did in Kadence are loading.

Do I need to replicate all the customizations I did in Kadence in the child theme now?

Is there a smarter way to add the Google Analytics code to the header?

Thank you.

  • The forum ‘Kadence Theme’ is closed to new topics and replies.