Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: BP1.2 – How to remove parent theme functions?


mfgmk
Participant

@mfgmk

it’s gonna be in your functions.php file around line 113, but i’m not sure if you can edit that file when you’re designing a child theme… already asked about it, so i’ll keep you posted on that since i’m hung up on that same issue. alternatively, you could just use the custom header option in the Appearance section to change your header.

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>

Skip to toolbar