Re: What necessary changes should be made to BP themes for BP 1.2.6
@hnla , @rogercoathup : One thing I donot understand (surrendering that I am a novice) , the snippet suggest that `if user is logged in then the condition is to padd 0px` , but what is need according. to the scenario is `if a user id logged out the padd 0 px , else padd 25 px`
isn’t it ?
`
function cancel_header_padding_for_no_adminbar() {
if (is_user_logged_in())
body {padding-top:25;}
else(defined( ‘BP_DISABLE_ADMIN_BAR’ ) || $bp->doing_admin_bar = false) ?>
body {padding-top:0;}
<?php
}
add_action( ‘wp_head’, ‘cancel_header_padding_for_no_adminbar’ );
`
could it be like this ? I have not tested as I think it has some syntax error