Editing WordPress’ BuddyPress image header

Researching how to do this took way to long–these are simple notes to help others. My goal was to use a taller image, in the header, in the default BuddyPress theme. Below is what worked for me–adjust accordingly.

EDIT: (line 156)

 /*path*/wp-content/plugins/buddypress/bp-themes/bp-default/_inc/css/default.css

FROM:

 padding-top: 25px;

TO:

 padding-top: 250px;

EDIT: (line 94)

 /*path*/wp-content/plugins/buddypress/bp-themes/bp-default/functions.php

FROM:

 define( 'HEADER_IMAGE_HEIGHT', apply_filters( 'bp_dtheme_header_image_height', 133 ) );

TO:

 define( 'HEADER_IMAGE_HEIGHT', apply_filters( 'bp_dtheme_header_image_height', 363 ) );

And that’s it! Cheers

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s