• Hi

    So far I have just been making sites editing themes directly, not using a child theme. I understand the idea of the child theme and see why its a very good idea.

    But im not really very good at scc I kind of figure things out by looking at the css and trying to change things back and forth and learning that way.

    So if I make a child theme.. Can I basically copy for example the style.css from the parent theme to the child theme? (adding the necessary child theme code at the top) So that I still have all the code to play with?

    Im working on a site at the moment using twentyten theme. And i have edited style.css and function.php already. Now im thinking if i should try and make these aleady edited files childe theme files…

    Will this work

    Hope this makes sense..

    Cheers,
    Mads

Viewing 2 replies - 1 through 2 (of 2 total)
  • well, I’m a fellow newbie but I just got an answer for this question minute ago..so, passing the knowledge 🙂
    my answer is from my reading to this page:

    http://codex.wordpress.org/Child_Themes

    so, you don’t have to copy the whole style.css file, you just have to copy the header of child style.css that is written in the codex page and then copy just the css rules you wanna change not the whole of it, for examble you can change some font color or size etc, just by copying this particular rule to the child styles.css file.

    that’s it and the same goes for functions.php as stated in the codex page.
    hope this will help you 🙂 good luck.

    Thread Starter Listic

    (@listic)

    Thanks Walid.

    But I know this 🙂 My question is if i can have an copy of the whole code so I can see what I have to play with. Guess I can..

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Childe Themes’ is closed to new replies.