Tagged: child theme
Can you tell me why this child style.css is breaking the theme. I have followed the instructions?? The template: abundance is the folder name where the theme is found.
Theme Name: Abundance Child
Description: Abundance Child Theme
Not sure, that should work fine. Do you have a functions.php file in the child theme as well? If so try deleting it so the folder only has the style.css with the above in it.
Weird…I only have the style.css in the folder along with the screen shot. The child folder is abundance-child and the theme folder is called abundance. And yet if I activate the child theme it really messes things up.
I thought that this bit of code might help but it only brings up the theme with no styling
So I am at a loss
Try deleting the style.css and re-creating it in a text only editor like notepad. Maybe there is a hidden character or something like that is causing an issue.
Or try generating one using this: https://graphpaperpress.com/blog/wordpress-child-theme-generator-intro/
The @import will bring in the parent style.css which is needed to import it in. If you didn’t have it in then the theme would still get recongized but the parent style.css wouldn’t get pulled in.
So yes, you do need it.
I see only two image in the link above.
Without seeing the site live and inspecting the issues I can’t be sure there is any issue here. I just don’t understand what issue there is at this point.
The topic ‘Child Style.css’ is closed to new replies.