Support » Alpha/Beta/RC » Admin Bar covering top part of page

  • I love the new admin bar, but what needs to be done to make sure it does not cover up the top 28px of a page?

    I confirmed that this is the case in Chrome, Firefox and IE with a custom theme and TwentyTen. The custom theme we are developing has a top menu bar which is rendered unaccessible by the new admin bar.

Viewing 8 replies - 1 through 8 (of 8 total)
  • WordPress adds a class named admin-bar to the body element when the admin bar is displayed (and only then). Have you tried playing with that?

    Thread Starter pszeinert

    (@pszeinert)

    I would be happy to change the css on my end, but if it is going to be enabled by default, I think it should not get in the way of the average user. Even a button (javascript more than likely) that would allow me to collapse it to the left, right or up would be a great help.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    It works fine with my site, both using twenty ten and other themes.

    Are you sure you upgraded all the files? You may need to delete WP-admin and reupload it.

    Thread Starter pszeinert

    (@pszeinert)

    I deleted my wp-admin folder just now and am uploading the latest nightly build and will see if that works shortly.

    While that is going on, are you sure you aren’t experiencing the same issue? When I checked TwentyTen, I thought it was working too, but upon further inspection it turns out it was in fact overlapping the top. There is no upper menu on the default TT theme and it has a 20px top-margin, which means the admin bar only overlapped by 8px and was barely noticeable.

    Upon further inspection, I don’t see any reason why it wouldn’t overlap in every instance, since it is the last item loaded and its CSS defines it as { position: fixed; width:100%; top: 0; } (defined in #wpadminbar). There is no part of the code that I have seen that would bump the entire wrapper down 28px.

    It may not appear to be a major inconvenience at first, but if anyone has an upper menu, ticker, or other important bit of info within 0-28px from the top, they would have to completely log-off in order to see or access it.

    Thread Starter pszeinert

    (@pszeinert)

    The picture linked below show what a logged in user sees and what a logged out visitor sees on the default TwentyTen theme.

    http://i55.tinypic.com/2cztueu.jpg

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    I did double check and you are correct. Huh, that’s not right. Can you raise a trac ticket? I’m having trac vs iPad issues right now

    Thread Starter pszeinert

    (@pszeinert)

    Added to this ticket:

    Admin Bar Problem
    http://core.trac.wordpress.org/ticket/15592

    Thanks for verifying the issue exists.

    I would be happy to change the css on my end, but if it is going to be enabled by default, I think it should not get in the way of the average user. Even a button (javascript more than likely) that would allow me to collapse it to the left, right or up would be a great help.

    pszeinert, you are right. I was before the revision that changed this (r16600) and I was not seeing what you described.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Admin Bar covering top part of page’ is closed to new replies.