Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Header Background Image


r-a-y
Keymaster

@r-a-y

Your style.css should look something like this:

/*
Theme Name: YOUR CHILD THEME
Description: My child theme.
Version: 1.0
Author: YOU
Template: bp-default
Tags: buddypress, two-columns
*/

/* import default BP style */
@import url( ../../plugins/buddypress/bp-themes/bp-default/style.css );

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

Your child theme’s functions.php should look like this:

<?php
function my_remove_bp_actions() {
remove_action( 'init', 'bp_dtheme_add_custom_header_support' );
}
add_action( 'init', 'my_remove_bp_actions', 9 );
?>

Make sure you activate your child theme in the WP admin area.

Skip to toolbar