WordPress.org

Support

Support » Themes and Templates » B3 » How can i make a child theme ?

How can i make a child theme ?

  • 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.

Viewing 1 replies (of 1 total)
  • Theme Author andreyk

    @andreyk

    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).

Viewing 1 replies (of 1 total)
  • The topic ‘How can i make a child theme ?’ is closed to new replies.
Skip to toolbar