Archived topic
"This theme is broken" message inside Edit Theme
5 replies · Started by Vasiliy on September 20, 2020
I have a bunch of odd, and, tbh, scary messages on Edit Theme screen. Here is a screenshot. It says that the theme is broken and that I should use GP to enable GP premium, but, as far as I can tell, my website still works alright.
How can I find and fix the cause of these messages and how it can affect my site?
Thanks
Hi there,
Using the child theme from here should fix the issue.
https://docs.generatepress.com/article/using-child-theme/#installing-a-child-theme
Looks like your child theme's style.css is missing the required header as the error suggested.
Leo,
I have this child theme installed for quite a bit of time, and customized it with my own css, but these messages are new. What does "header" mean in this context?
Alright, I realized that the only reasonable meaning of "header" here will be the comments at top. Copied them from the blank child theme and the errors are gone.
Treating comments that seriously is new to me )))
Closing issue
Glad to hear :)