Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Remove the default search in bp-default???

  • Avatar of hiresphereadmin
    hiresphereadmin
    Member

    @hiresphereadmin

    I’m trying to take the search option out of the bp-default because my company’s custom logo is at the top and the search option blocks the name of my company and looks terrible…….I tried deleting the search.php and it didn’t work……..

    Thanks!!!

Viewing 13 replies - 1 through 13 (of 13 total)
  • Avatar of aces
    aces
    Participant

    @aces

    I think the search you are looking for is in header.php

    You should not edit or delete anything in the bp-default directory/folder. Place a copy of header.php in your child theme and edit that…..

    Avatar of hiresphereadmin
    hiresphereadmin
    Member

    @hiresphereadmin

    Ok……copy and pasted header.php in Notepad++

    Working on the edit now……

    Avatar of hiresphereadmin
    hiresphereadmin
    Member

    @hiresphereadmin

    Ok…..so I’ve been working on the edit for over an hour (ate of bowl of ice-cream in-between)…….so now I’m crying “uncle”……lol…….how exactly am I editing this? I tried <?php remove_action……..bla bla bla…….I tried taking out the line of code all together, I tried <form remove_action…..bla bla la………

    I know I’m close……I can feel it……

    Avatar of aces
    aces
    Participant

    @aces

    I think there may be cleverer ways – but a quick fix would be to open the child theme’s header.php and replace the blank line 28 with

    Then replace the blank line 43 with:

    This will ‘comment out’ the relevant lines so they could easily be re-enabled later if required.

    Otherwise just delete the lines between – you could always copy header.php to your child theme again if needed…

    NB: I just upgraded to buddypress v1.5.3 on the site so that is where the line numbers come from…..

    Avatar of hiresphereadmin
    hiresphereadmin
    Member

    @hiresphereadmin

    I upgraded too and I have a blank for line 28….which I have put but my line 43 has `

    `
    Avatar of hiresphereadmin
    hiresphereadmin
    Member

    @hiresphereadmin

    sorry…..it’s suppose to say “which I have put “

    Avatar of hiresphereadmin
    hiresphereadmin
    Member

    @hiresphereadmin

    My line 42 is blank……I’m thinking it must that…….

    Avatar of aces
    aces
    Participant

    @aces

    should be!

    For reference, my bp-default child theme header.php would look the same as the one here: http://buddypress.trac.wordpress.org/browser/trunk/bp-themes/bp-default/header.php?rev=5003

    Avatar of hiresphereadmin
    hiresphereadmin
    Member

    @hiresphereadmin

    GOT IT!!!! RIGHT ON THE MONEY AGAIN!!!! Ok, but my buddybar appears to be too high and is also impeding my logo (header). I’m going to try changing the px from 1250 x 133 to……I don’t know yet, but something a bit smaller to see if that does the trick…..I’ll let you know if it doesn’t work.

    THANK GOD FOR YOU!!!! I WOULD HAVE NEVER FIGURED THIS OUT BY MYSELF….OR I WOULD HAVE, BUT LORD ONLY KNOWS HOW LONG IT WOULD HAVE TAKEN ME………

    Avatar of hiresphereadmin
    hiresphereadmin
    Member

    @hiresphereadmin

    I changed the height from 133 to 150 thinking it would raise my header above the menu options, but it didn’t work…..can you think of another way?

    Avatar of aces
    aces
    Participant

    @aces

    That is a whole different question and it’s very late here (UK) already……

    Maybe a new topic would be better….

    Avatar of hiresphereadmin
    hiresphereadmin
    Member

    @hiresphereadmin

    Should I start a new thread? Or is this ok?

    Avatar of hiresphereadmin
    hiresphereadmin
    Member

    @hiresphereadmin

    lol……I posted mine a bit too late….ok….I’ll start a new thread and keep working……maybe tomorrow…….THANK YOU ACES!!!!!!!!!!!!!

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

You must be logged in to reply to this topic.