Skip to:
Content
Pages
Categories
Search
Top
Bottom

unable to remove search bar from BP default header

  • Avatar of dtclarinet
    dtclarinet
    Participant

    @dtclarinet

    Why should I have to create a “child” theme to remove the search bar int he BP default header? I don’t understand all the details of that process.

    I tried removing the code form the header.php file, but my site did not come up after that. Blank page.

    WP used to be somewhat understandable regarding code issues. It’s beyond me now.

    Has anyone come up with a simple plugin to remove the silly search bar in the BP default header?

    Thanks,
    DT
    http://blog.davidhthomas.net
    newest versions of all scripts.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Avatar of @modemlooper
    @modemlooper
    Moderator

    @modemlooper

    you either need to remove the code or hide it with CSS either way it’s best to create a simple child theme. If you choose CSS, the easiest way, find the id for it and give it a display:none;

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    @dtclarinet If you’re using BP 1.2.6, copy header.php from bp-default theme into your child theme folder, then remove lines 84 – 102 from header.php and upload. Shouldn’t be any white screen.

    EDIT- modemlooper’s advice to remove via CSS is easier

    Avatar of aboveNbelow
    aboveNbelow
    Participant

    @abovenbelow

    @modemlooper i tried adding these variations in my Css and the search bar still shows could you tell me whats wrong with the code

    `group-dir-search {
    display: none !important;
    }`

    `div#group-dir-search.dir-search {
    display: none !important;
    }`

    ive tried quite a few things they work with firebug but not when i add it to css so not sure what im doing wrong

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

You must be logged in to reply to this topic.