Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,849
- How-to & Troubleshooting
- 128,861
- Creating & Extending
- 25,736
- Requests & Feedback
- 9,445
- Third Party Plugins
- 9,772
- Showcase
- 3,317
- Ideas
- 1,388
- Miscellaneous
- 9,132
-
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’ );
`
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS