Tagged: 

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #241104

    Hi

    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
    Theme URI:
    Description: Abundance Child Theme
    Version: 1.0
    Author:
    Author URI:
    Template: abundance
    */

    Thanks
    Richard

    #241402

    Hi Richard!

    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.

    Best regards,
    Devin

    #241427

    Hi Devin
    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
    @import url("../abundance/style.css");

    So I am at a loss
    Regards
    Richard

    #241433

    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/

    #241561
    This reply has been marked as private.
    #241565
    This reply has been marked as private.
    #241569

    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.

    #241571
    This reply has been marked as private.
    #241658

    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.

    #241767
    This reply has been marked as private.
Viewing 10 posts - 1 through 10 (of 10 total)

The topic ‘Child Style.css’ is closed to new replies.