0

I am trying to make a child theme for a premium template.

My css isn't overriding the parent though. I'm trying to figure out what's going on. Other than important the parent theme's css, is there anything else I need to import into the child theme folder? Right now there is just style.css.

The site is http://wpdallas.com/test/

4
  • I just noticed you edited my question. I can't seem to see what you edited (or what I entered in incorrectly.) :)
    – Rick Smith
    Feb 22, 2012 at 10:35
  • @Brady edited the title (removed 'Child Theme question'), and layout of the question. Feb 22, 2012 at 16:04
  • @RickSmith - I changed the title to be more descriptive of your issue. You can see amendments here: wordpress.stackexchange.com/posts/43122/revisions
    – Scott
    Feb 22, 2012 at 16:08
  • Close-voted as too localized. This is most likely an issue with your commercial Theme's handling of stylesheets. Apr 27, 2012 at 13:43

2 Answers 2

0

It's throwing some errors for the some of the style sheets... are you sure you've got them in the right theme folder? because you seem to be calling from two separate themes:

Standard-Child-Theme-1 & Standard.

If they are in the same folder, I'd personally use to make life easier.

10
  • Hmmm. I made a change in one of the parent themes that seemed to fix my issue, but I do see there are some errors that are showing up,..some 404's on some of the style sheets its trying to pull in. The first theme is the child theme, the 2nd is the parent. Here is my style sheet for the child theme, how's it look? wpdallas.com/test/wp-content/themes/Standard-Child-Theme-1/…
    – Rick Smith
    Feb 22, 2012 at 11:32
  • Could you try in this @import url("../Standard/standard_framework/css/standard_framework.css"); The other thing, I've noticed in your child theme css - you're styling elements that I can't seem to find on your site. Feb 22, 2012 at 11:43
  • Ok, I've added that import line...also what elements am I styling that you can find in the theme? (Thanks for your help by the way.)
    – Rick Smith
    Feb 22, 2012 at 11:46
  • ignore my comment about the elements... found them. Feb 22, 2012 at 12:01
  • Ok. You had me worried there for a bit. :) Does it look like adding that line of code fixed my issues?
    – Rick Smith
    Feb 22, 2012 at 12:06
0

There was a problem in the theme itself, this has been corrected since this question was posted. The parent theme was not properly coded to work with a child theme.

Not the answer you're looking for? Browse other questions tagged or ask your own question.