Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: What necessary changes should be made to BP themes for BP 1.2.6


anindyaray
Member

@anindyaray

I tried this but it didn’t worked , same thing is happening , Sorry :(
`
function cancel_header_padding_for_no_adminbar() {

if(defined( ‘BP_DISABLE_ADMIN_BAR’ ) || $bp->doing_admin_bar == false && !is_user_logged_in()) ?>

body {padding-top:0;}
<?php
}
add_action( ‘wp_head’, ‘cancel_header_padding_for_no_adminbar’ );
`

Skip to toolbar