February 11th, 2013 at 23:30 #3624Pete
I have made a child theme of Mantra, but it won’t take any css changes. Is it possible Mantra won’t allow child themes? Below is the style.css code I have used. It should work.
Theme Name: Mantra Child
Description: A child theme for Mantra
/* Import layout */
@import url(../mantra/style.css);February 12th, 2013 at 09:13 #3631KayCryout Creations mastermind
Mantra not only allows child themes, it embraces them.
Your mistake here is not entering a Theme URI. If you don’t have one or just don’t want to enter one you must delete that line completely. You can’t have ‘Theme URI:’ and then nothing. Delete that line completely.Before posting consider reading our short theme debugging instructions.
Please read the FAQs: Mantra • Nirvana • Parabola • Tempera
Tutorials: custom menus • translating theme • installing theme • category page with intro • disabling comments Wordpress: child themes • categories/posts
Before making any modifications to your theme we strongly recommend using Child Themes.February 12th, 2013 at 15:05 #3634Pete
Thank you. I’ve deleted the Theme URI but it still doesn’t work. I added the URI but it didn’t work. I also have made a child of 2012 with the Theme URI left empty and it works, even though I have left it empty.
Could it be anything else that is causing my child theme css of Mantra to not work?February 12th, 2013 at 15:11 #3635Pete
Many apologies, my 2012 child theme does not work with the Theme URI missing. Very sorry to mislead you.February 20th, 2013 at 18:07 #3755Tche
I am also using a child-theme and it works (more or less), the code I set in my style.css is as following:
Theme Name: Mantra Child
Description: Thème enfant du thème Mantra
Author URI: http://AllWeWish.org
I think the brakets in yours are missing. Just copy-paste-adapt to check.
If it still doesn’t work, check also the name of your child folder: “mantra-child” and its location: next to the parent one (not inside) I hope it can help.
I said it works “more or less” because all my customizations are not taken… but some of these are well.
So I am moving the pure stylish one in the “Mantra Settings”//”Miscellaneous”//Custom CSS through the wordpress admin because these are overwriting everything (sorry if words are not exactly the same, I am working in French) I ll keep my customized templates in the child-theme and my child style.css empty…
The topic ‘child theme not working’ is closed to new replies.