Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Header Background Image


r-a-y
Keymaster

@r-a-y

Hmm… I had to do something like this recently for a BP site using a child theme and I didn’t have to add the !important declaration.

This is what I did:

In your child theme’s functions.php, add the following:

function my_remove_bp_actions() {
remove_action( 'init', 'bp_dtheme_add_custom_header_support' );
}
add_action( 'init', 'my_remove_bp_actions', 9 );

This removes the custom header support from the BP default theme.

Then in your child theme’s style.css, add:

#header {background:url(YOUR IMAGE URL HERE) no-repeat;}

Skip to toolbar