Ready to get started?Download WordPress


Child theme a theme that has multiple CSS files (2 posts)

  1. D3FCON
    Posted 2 years ago #

    How do I create a child theme for a theme that has custom CSS files for diferent aspects of the site nested in folders in the theme folder?

    I created a child theme for the twenty ten okay but when I moved to my current theme I found that the style.css doesn't contain the CSS for the site. They are in a folder called 'Skins' and then further nested into folders for each color option the author provided.

    Child theme is an awesome way to modify a theme but I can't get it to work. I tried copying the nested folders containing the other CSS into the child theme folder but it didn't work.

    All help appreciated

  2. Digital Raindrops
    Posted 2 years ago #

    Not all themes support child themes, is this just a theme or a framework?
    Is the new theme a free download theme?
    Do you have a test site you can link to?

    Is your child themes style.css correct?
    Template: {slug} is the themes folder name, this must be exactly the way it looks in a file manager, this is case sensitive, and must not have spaces in the folder name:

    This will not work:
    /wp-content/themes/My Child Theme/
    Template: My Child Theme

    This will not work:
    Template: my-child-theme

    This will work:
    Template: My-Child-Theme

    This will work:
    Template: My-child-theme

    This is best all lower case:
    Template: my-child-theme



Topic Closed

This topic has been closed to new replies.

About this Topic