[Support request] top menu bar hidden beneath wordpress admin bar

Home Forums Support [Support request] top menu bar hidden beneath wordpress admin bar

Home Forums Support top menu bar hidden beneath wordpress admin bar

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #566862
    Tina

    Hi!

    I’m using two menus on my site. The primary navigation menu floats to the right and a secondary navigation sits above the header. I’m also using the following code so that they are both sticky.

     @media screen and (min-width: 800px) {
    .custom-fixed-header {
          position: fixed;
          top: 0;
          width: 100%;
          z-index: 2000;
    }
    }
         
     @media screen and (min-width: 800px) {
    .custom-fixed-header + * {
          padding-top: 80px;
    }
    }

    When I’m in customizer and when I’m logged out it all appears to look fine.

    When I’m logged in to WordPress, the WordPress admin bar covers up the top menu. All I can see is a fraction of the background for the secondary menu. Is there any way to stop this from happening?

    Cheers
    -Tina

    GeneratePress 2.1
    GP Premium 1.6.2
    #566928
    Leo
    Staff
    Customer Support

    Hi Tina,

    That’s likely because top: 0; line in your CSS.

    I don’t think there is a way to change it for only when you are logged in though unfortunately.

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