WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Thomas Kujawa
    Member
    Posted 6 months 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
    Member
    Theme Author

    Posted 6 months 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).

Reply

You must log in to post.

About this Theme

About this Topic