[Resolved] sticky top bar – accommodating the admin menu bar

Home Forums Support [Resolved] sticky top bar – accommodating the admin menu bar

Home Forums Support sticky top bar – accommodating the admin menu bar

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #935675
    Duncan

    Hi,

    I wanted to make the top bar sticky, so I’ve added the CSS from this post. It works perfectly when I’m logged out, but when I’m logged in, the top bar sits behind the admin menu.

    Is there a way to accommodate the height of the admin bar when logged in, that doesn’t affect the site to logged out users?

    Thanks

    Duncan

    https://bc.ryedalewebdesign.com/

    #935723
    David
    Staff
    Customer Support

    Hi there,

    you could add this to your CSS:

    .admin-bar .top-bar {
        top: 41px;
    }
    #935764
    Duncan

    Perfect – thanks for the speedy support!

    #935768
    David
    Staff
    Customer Support

    Glad to be of help.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.