Re: Struggling with child themes
@wmike1503 wrap your code with backticks (`), the symbol between the parentheses so your code will show up here. I’ve done it for you in your post above.
I’ve just updated codex re child themes some hours ago for BP 1.5.2 https://codex.buddypress.org/theme-development/building-a-buddypress-child-theme/ so you might have missed the changes required.
1. If you want to make some minor changes, create your child theme folder, create style.css file for your child theme and remember to add Template: bp-default in the header of your stylesheet. Then just start adding in your style changes in style.css file and you’re good to go.
2. If you want a total redesign, you’d need to create a functions.php file as well. You want to remove parent theme’s styles and enqueue your own style (alternative method in updated codex article):
`<?php
if ( !function_exists( ‘bp_dtheme_enqueue_styles’ ) ) :
function bp_dtheme_enqueue_styles() {
// You should bump this version when changes are made to bust cache
$version = ‘20111223’;
// Register stylesheet of wmike child theme
wp_register_style( ‘wmike’, get_stylesheet_directory_uri() . ‘/style.css’, array(), $version );
// Enqueue stylesheet of wmike chid theme
wp_enqueue_style( ‘wmike’ );
}
add_action( ‘wp_enqueue_scripts’, ‘bp_dtheme_enqueue_styles’ );
endif;
?>`