Ok, I got it to work.
Basically the extent of my customizations are so extreme that it was just a smarter route to not use Template: bp-default.
I removed that from style.css, reloaded the theme and all is working fine. I am assuming that since I am not using the bp-default option that nothing will inherit from that theme, correct?
@Mike
I had a long post on my troubles dealing with the default image and header issues. I’m using BP1.2 beta with Hybrid as parent and Hybrid News as child. Added BP default folders to Hybrid News theme folder. Modified functions.php and ended up with the same/similar problem as you. I deleted
/* Set the defaults for the custom header image (http://ryan.boren.me/2007/01/07/custom-image-header-api/) */
define( 'HEADER_TEXTCOLOR', 'FFFFFF' );
define( 'HEADER_IMAGE', '%s/_inc/images/default_header.jpg' ); // %s is theme dir uri
define( 'HEADER_IMAGE_WIDTH', 1250 );
define( 'HEADER_IMAGE_HEIGHT', 125 );
function bp_dtheme_header_style() { ?>
<style type="text/css">
#header { background-image: url(<?php header_image() ?>); }
<?php if ( 'blank' == get_header_textcolor() ) { ?>
#header h1, #header #desc { display: none; }
<?php } else { ?>
#header h1 a, #desc { color:#<?php header_textcolor() ?>; }
<?php }
?></style>
}
but that didn’t help.
Solved it for me by commenting out all the CSS in default.css under the heading “Header” since Hybrid News is taking care of all of this. Obviously, mileage may vary.
@Andy – I’m having the same issues as @Mike and @designodyssey:
I want to use bp-default as the parent, but don’t want the custom header, and other inline css settings.
Unfortunately, functions.php in bp-default is adding inline css, which is therefore difficult / cumbersome to override in the child theme.
As a quick fix, I suspect I’ll remove functions.php from bp-default theme, and just copy over the functions I want into a functions.php in my child theme. Obviously this is not ideal.
Is there a better way to solve this? Perhaps a hook to remove the offending functions?
Update: I’ve just seen the comment in the functions.php, advising how to remove the custom header:
/****
* Custom header image support. You can remove this entirely in a child theme by adding this line
* to your functions.php: remove_action( ‘init’, ‘bp_dtheme_add_custom_header_support’ );
*/
Thanks!
Further update:
I’ve tried adding the remove_action line to my functions.php in the child theme, but it makes no difference… the custom header / inline CSS is still being inserted.
Any suggestions?
Roger — MrMaz has the solution to that over here.