Forums

Gap above header after upgrading to WordPress 3.1 (4 posts)

  1. sesame
    Member
    Posted 1 year ago #

    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?

    http://www.vivawoman.net

  2. sesame
    Member
    Posted 1 year ago #

    Okay, I just realized...the gap is gone as soon as I log out of the admin panel! So strange! Anyone has similar experience?

  3. keesiemeijer
    moderator
    Posted 1 year ago #

    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' );

  4. marioguarneros
    Member
    Posted 1 year ago #

    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:

    WordPress 3.1 helpful tips for beginners

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags