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 #267949

    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.

    Please Login to continue

    If you do not have an account you can register here.