Viewing 2 replies - 1 through 2 (of 2 total)
  • This CSS block should turn off your top admin bar:

    #wpadminbar {
    display: none;
    }

    You probably want to wrap it in a media query so it only turns off the admin bar when the resolution is below a certain size. For example:

    //All sizes
    #wpadminbar {
    display: inline;
    }
    
    //800 pixels and less
    @media screen and (max-width: 800px) {
       #wpadminbar {
            display: none;
       }
    }
    Thread Starter hlam

    (@hlam)

    Bob, thank you very much.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Navigation black bar on mobile’ is closed to new replies.