How can i make a child theme ? (2 posts)

  1. Thomas Kujawa
    Posted 2 years ago #

    I've created a directory b3-child and created a style.css too.

    I can activate the child-theme and everything is o.k., but all changes in the (child) style.css doesn't affect anything.

    Thanks for help.

  2. andreyk
    Theme Author

    Posted 2 years ago #

    Of course you can create a child theme. But you need to include your css file additionally because B3 will enqueue style.css from template. So, there are two ways:
    1) copy header.php from B3 to the child theme and add there your style.css using <link> tag after wp_head();
    2) create file function.php in your theme and use wp_enqueue_style(), as described here: http://codex.wordpress.org/Function_Reference/wp_enqueue_style
    (2nd way recommended).

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic