Public
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Occasional Advisor

Search - how to hide "Knowledge base" in the drop down content category menu?

Hi there,

we are to launch our community very soon. As we decided to start without knowledge base, we would like to hide "knowledge base" from search bar drop down menu. I found one article here: https://community.khoros.com/t5/Search-tools/Search-related-best-practices/ta-p/161416 & our team made change in XML, as described, but there was no change.  Any tip or direction / where / how to find solution would be much appreciated 🙂

Anna 

2 Replies 2
Respected Contributor

Hi @aniak 

I ran into the same issue before we launched our TKB.

You can try adding this CSS to hide it:

#lia-body .lia-content select.lia-search-form-granularity.search-granularity option[title="Knowledge Base"] { display: none; }

 

You might want to test with IE and Firefox though... I recall an issue where those browsers weren't recognizing the CSS, but that was quite a while ago. 

__________________________
Occasional Advisor

Thank you @StephenB !  I've been on holidays, so replay is a little bit late, but looks as it works!

aniak_0-1580469995914.png

 

Welcome to the Technology board!

Curious about our platform? Looking to connect on social technology? You've come to the right place!

Are you a Khoros customer? For direct assistance from our Support team, please visit the Support Forum.