BuddyBoss Home – Web › Support Forums › Themes › Boss. theme › Disable search in header
Tagged: search
- This topic has 11 replies, 4 contibutors, and was last updated 8 years, 11 months ago by Anonymous.
Question
November 30, 2015 at 3:03 pm #53215@rentahostHow can I disable search and remove the field in the header ??
Answers
December 1, 2015 at 6:21 am #53278@
AnonymousHi @rentahost, Pls add this css code in your custom css file.
div#header-search.search-form { display: none !important; }
Regards
PallaviDecember 1, 2015 at 3:59 pm #53365@rentahostHi Pallavi
thanks for that info. However, it didn’t work. It is still there!
December 2, 2015 at 6:57 am #53450@
AnonymousHi @rentahost, Please remove ‘div’ and try:
#header-search.search-form { display: none !important; }
Regards
PallaviDecember 2, 2015 at 9:24 am #53479@rentahostdoesn’t work either
December 2, 2015 at 12:32 pm #53497@
AnonymousHi @rentahost, please send a screenshot from where you want to hide the search bar because this code should work.
Regards
PallaviDecember 2, 2015 at 6:10 pm #53536@rentahostAttached are screen shots of the search bar still being displayed and where I copied in the code you gave me.
December 3, 2015 at 1:43 am #53570@
AnonymousHi @rentahost, you can use following css
.site-header .search-form { display: none !important;; }
If it does not work, paste your live site url we will inspect from your website.
RegardsDecember 3, 2015 at 9:02 pm #53649@rentahoststill doesn’t work!
December 4, 2015 at 4:45 am #53656@
AnonymousHi @rentahost, Custom css we have provided it correct
I have inspected your site and css what we have provided do not displayed there
you can install https://wordpress.org/plugins/simple-custom-css/
It will add an option to add css easilyAdd the same css
.site-header .search-form { display: none !important;; }
It should work
Regards
Varun DubeyDecember 4, 2015 at 10:57 pm #53730@aldonaHi, is it possible to hide the search box for logged out users? I don’t want that everyone can search in my site. Thanks in advance! (btw, that css code totally works to hide the search box)
December 5, 2015 at 1:00 am #53735@
AnonymousHi @aldona, Please check this thread
https://www.buddyboss.com/support-forums/topic/hiding-search-box-andor-results-from-logged-out-users/
we have already discussed about this topic.Regards
Pallavi
- The question ‘Disable search in header’ is closed to new replies.