Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Child Themes, 1.2 & bp-default: No Child Theme Left Behind


designodyssey
Participant

@designodyssey

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

Skip to toolbar