I just upgraded to WordPress 3.1 and I now have a gap above my header but it's only seen in Chrome and not IE or FF. Any idea how to get rid of the gap?
I just upgraded to WordPress 3.1 and I now have a gap above my header but it's only seen in Chrome and not IE or FF. Any idea how to get rid of the gap?
Okay, I just realized...the gap is gone as soon as I log out of the admin panel! So strange! Anyone has similar experience?
It's the new admin bar feature in 3.1 that is probably not working with your theme.
you can disable it with this plugin: http://wordpress.org/extend/plugins/disable-admin-bar/
or
Go to Users->Your Profile. Look at the screen for the checkbox.
or put this in your theme's functions.php:
add_filter( 'show_admin_bar', '__return_false' );
Pretty much you have to make sure you have the right code in both: header.php and footer.php
Full explanation and some other tips can be found here:
This topic has been closed to new replies.