Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: [1.2] Child Theme Best Practices

I believe the only file required for a child is style.css. If it’s literally just one line of CSS… I’d probably put it in that file. So for instance:

/*
Theme Name: My Child Theme
Template: bp-default
Tags: buddypress
*/

/* Parent styles */
@import url( ../../plugins/buddypress/bp-themes/bp-default/_inc/css/adminbar.css );
@import url( ../../plugins/buddypress/bp-themes/bp-default/_inc/css/default.css );

/* Custom styles */
body {background: #cf0;}

Skip to toolbar