Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to disable the blank space of the admin bar on header ?


  • evo252
    Participant

    @evo252

    Hello

    I don’t suceed to remove this white space due to admin bar, which prevents me to add social links on the header of my website.

    My CSS has this :

    body {
    background: #ffffff url(../images/backgroundshadow.png) repeat-y top center;
    font-family: tahoma,arial,verdana,sans-serif;
    font-size: 12px;
    line-height: 18px;
    color: #666666;
    position: relative;
    z-index:-9999;
    margin: 0 auto;
    padding-top: 0 !important; /* Remove the top padding space for the admin bar in this theme */
    }

    And the wite space remains… is there a way to remove it ?

Viewing 2 replies - 1 through 2 (of 2 total)

  • @mercime
    Participant

    @mercime

    WP/BP versions? What theme are you using? Better yet, site URL?


    evo252
    Participant

    @evo252

    I fixed it by changing CSS file, for those who have the same problem, maybe this will run on your template:

    #wp-admin-bar {
    height:0 !important;
    }

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to disable the blank space of the admin bar on header ?’ is closed to new replies.
Skip to toolbar