WP.com Bar

  • Author
    Posts
  • #24621

    Is there any way for user CSS to determine if the nav bar is loaded? (I.E. if a user is logged in)

    #24801

    andy
    Member

    Good idea. There will be!

    #24803

    andy
    Member

    It is done. There is a “loggedin” class on the body tag.

    #24804

    sweet! :D
    i think scott’s going to reach right through the monitor and choke me soon.

    #24813

    swallick
    Member

    Har, har, har. Far from it.

    [I will sneak up behind you.]

    #24815

    timethief
    Member

    Okay kamel so why would it be sweet to have this information? To whom would this information be available and what purpose would it serve to know it? In simple English please [she whined].

    #24827

    andy
    Member

    btw, please do not modify the admin bar in any way.

    #24853

    @andy
    i wouldn’t dream of it

    @ timethief –
    the WP.com Bar adds 28 pixels to the top of the page. it moves everything down EXCEPT the background image. so if you have a background image that aligns with something in the content of the page, you need to add

    body.loggedin { background-position: 0 28px; }

    so that the background image moves down with the rest of the page.

    except i’m having to re-write the CSS of this theme so much i may do something else altogether.

    #24879

    timethief
    Member

    Thanks for the clarity kamel.:D

The topic ‘WP.com Bar’ is closed to new replies.