• 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

Viewing 1 replies (of 1 total)
  • Hi,
    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:
    /wp-content/themes/My-Child-Theme/
    Template: my-child-theme

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

    This will work:
    /wp-content/themes/My-child-theme/
    Template: My-child-theme

    This is best all lower case:
    /wp-content/themes/my-child-theme/
    Template: my-child-theme

    HTH

    David

Viewing 1 replies (of 1 total)
  • The topic ‘Child theme a theme that has multiple CSS files’ is closed to new replies.