Child theme is not inheriting the main theme
-
I’m operating WordPress 3.8. I have windows 8 OS. I am using Mantra Theme 2.3.2.
I have created a child theme of Mantra, called mantra-child in it’s own folder. In the theme section, it displays Active:mantra-child. So WordPress is recognizing it. Below, is what it looks like in my mantra-child/style.css.
/*
* Theme Name: mantra-child
* Theme URI: https://uslowwebsite.com/mantra-child/
* Description: This is a custom child theme I have created.
* Author: Markea c/o uslowwebsite.com
* Author URI: https://uslowwebsite.com
*Template: mantra
* Version: 2.3.2
*/
import url(‘../mantra/style.css’);
/*<link rel=”stylesheet” href=”../mantra/style.css”/>*/
<link rel=’stylesheet’ href=’css/output.css’/>I have used “import URL” and also “<link…>”, as shown above. I know that it’s more correct to use the <link> rather than the @import. To limit HTTP requests.
My problem is that when viewed in a browser, any browser, the styling is not there, just bare bones. This is all before, I customize it. For some reason it shows that the child theme is active in WordPress themes however, not in any browser.
Please help, going bonkers!
- The topic ‘Child theme is not inheriting the main theme’ is closed to new replies.