• I am trying to learn how to do child themes. In the WordPress Codex it says to import a style sheet @import url(“…/themename/style.css”) and then create your own style.css and any css rules that you write will supercede the original style.css.

    The theme that I am working with is an Elegant Theme and it has a main style.css and other color style sheets such as style-Blue.css, style-Green.css etc. I am using the style-
    Blue.css file.

    I initially imported @import url(“…/Simplism/style.css”) and also copied the footer.php and style-Blue.css files into my child theme. I made changes in the in both files and the changes in the footer.php file showed, but no so for the style-Blue.css.

    I then went into the parent style-Blue.css and made the same changes and they immediately showed when I activated the child theme again.

    I then changed the import to @import url(“…/Simplism/style-Blue.css”) and changed the changes made to the parent css file back to the original code. Again, what showed is the css from the parent style-Blue.css not the style-Blue.css in the child theme.

    Why do you think I can’t get the child file to supercede the parent file of the same name? I have read and re-read the codex and also the tutorial at http://op111.net/53/ and I can’t figure it out.

    Any help will be greatly appreciated. Thanks.

Viewing 7 replies - 1 through 7 (of 7 total)
  • As this is a commercial theme, you need to seek support from the theme vendors.
    Elegant Themes Support: http://www.elegantthemes.com/forum/

    general:

    a:
    there should be only two dots:
    @import url("../themedirectory/style.css")

    b:
    it is not the parent theme name, but the parent theme directory

    http://codex.wordpress.org/Child_Themes

    Thread Starter samsin89143

    (@samsin89143)

    Esmi – The support at Elegant themes is non-existent. I have posted over 6 support questions on the support forum and they never reply. The themes are great the support doesn’t exist.

    Thread Starter samsin89143

    (@samsin89143)

    Alchymyth – the parent directory is the same as the theme name. I cut it down to two .. and I have the same problem. Thank you for the suggestions.

    Hey Samsin89143…

    I have spent all day searching for a solution to a problem exactly the same as yours.
    I wondered, did you manage to sort this issue out eventually?

    Thread Starter samsin89143

    (@samsin89143)

    Hi orangeodd – I never did. I just stopped using Elegant Themes and am happily using Studio Press now. Elegant themes are great looking themes but they don’t support their product.

    Glad you’re sorted. Thanks for the reply. My quest continues 😉

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘child theme problems’ is closed to new replies.