1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.4 remove search link and box but keep search enabled

Discussion in 'XenForo Questions and Support' started by trman, Jan 4, 2015.

  1. trman

    trman Active Member

    The title says it all. I would like to not show the "search" link on the nav bar and also not show the search box at the right of the navbar. I know you can disable search and these will disappear but I want to keep search enabled.

    Reason: I want to use Google Custom Search to handle the main search load and have a link on the Google results page to the XenForo search and title it "advanced search".

    I used this method with VB and it worked well for many years.

    I would prefer not to edit the navigation template, but will do so if needed.

    Was hoping for some CSS to put in extra.css to hide the search link and search bar.
  2. trman

    trman Active Member

    Any one have any ideas on this? (before I start editing the template)
  3. Brogan

    Brogan XenForo Moderator Staff Member

    You will need to edit the navigation template to remove the link.

    The search box can be hidden using #QuickSearch {display:none;} in EXTRA.css or removed completely by editing the template.
  4. trman

    trman Active Member

    Thanks that worked for the search bar. And I used Andy's add on to remove the link.
  5. trman

    trman Active Member

    I just noticed your label now says #QuickSearch when earlier it said #searchBar

    #searchBar worked, what is the difference between the two?

Share This Page