Forums

[resolved] WP 3.1 brings new code snipper in -- design problems (9 posts)

  1. jtata
    Member
    Posted 1 year ago #

    Hello,

    i have recently updated to WP 3.1 and noticed that in <head> a new code was added that affect blog design. The snipper is:

    ... <style type="text/css" media="print">#wpadminbar { display:none; }</style><style type="text/css">html { margin-top: 28px !important; }
    * html body { margin-top: 28px !important; }</style><link ...

    The "html { margin-top: 28px !important; }
    * html body { margin-top: 28px !important; }"

    makes empty space on the top of my blog.

    Please advice where it comes from and how its possible to remove it.

  2. jtata
    Member
    Posted 1 year ago #

    Also this code part is visible in Google Chrome only.

  3. kpenning
    Member
    Posted 1 year ago #

    It only does this when logged in to my admin account. Can anyone enlighten me on this problem? What's up with the top margin??

  4. kpenning
    Member
    Posted 1 year ago #

  5. jtata
    Member
    Posted 1 year ago #

    Thank you. The "Admin Bar Removal (3.1 only)" (Version 2011.0223.2011 | By sLa) plugin did the trick. Back to normal. :)

  6. Wes Todd
    Member
    Posted 1 year ago #

  7. Loaden
    Member
    Posted 1 year ago #

  8. deanographics
    Member
    Posted 1 year ago #

    So glad someone figured out how to get rid of this, it was stressing me out so bad...

  9. lookatlao
    Member
    Posted 1 year ago #

    Wow. I just lost an hour of my life trying to figure this out. :/

Topic Closed

This topic has been closed to new replies.

About this Topic