cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
%3CLINGO-SUB%20id%3D%22lingo-sub-559485%22%20slang%3D%22en-US%22%3ESearch%20-%20how%20to%20hide%20%26amp%3Bquot%3BKnowledge%20base%26amp%3Bquot%3B%20in%20the%20drop%20down%20content%20category%20menu%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-559485%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20there%2C%3C%2FP%3E%3CP%3Ewe%20are%20to%20launch%20our%20community%20very%20soon.%20As%20we%20decided%20to%20start%20without%20knowledge%20base%2C%20we%20would%20like%20to%20hide%20%22knowledge%20base%22%20from%20search%20bar%20drop%20down%20menu.%20I%20found%20one%20article%20here%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.khoros.com%2Ft5%2FSearch-tools%2FSearch-related-best-practices%2Fta-p%2F161416%22%20target%3D%22_blank%22%20rel%3D%22noopener%22%3Ehttps%3A%2F%2Fcommunity.khoros.com%2Ft5%2F%3CSPAN%3ESearch%3C%2FSPAN%3E-tools%2F%3CSPAN%3ESearch%3C%2FSPAN%3E-related-best-practices%2Fta-p%2F161416%3C%2FA%3E%26nbsp%3B%26amp%3B%20our%20team%20made%20change%20in%20XML%2C%20as%20described%2C%20but%20there%20was%20no%20change.%26nbsp%3B%20Any%20tip%20or%20direction%20%2F%20where%20%2F%20how%20to%20find%20solution%20would%20be%20much%20appreciated%20%3CIMG%20class%3D%22lia-deferred-image%20lia-image-emoji%22%20src%3D%22https%3A%2F%2Fcommunity.khoros.com%2Fhtml%2Femoticons%2F1f642.png%22%20alt%3D%22%3Aslightly_smiling_face%3A%22%20title%3D%22%3Aslightly_smiling_face%3A%22%20%2F%3E%3C%2FP%3E%3CP%3EAnna%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-559667%22%20slang%3D%22en-US%22%3ERe%3A%20Search%20-%20how%20to%20hide%20%26amp%3Bquot%3BKnowledge%20base%26amp%3Bquot%3B%20in%20the%20drop%20down%20content%20category%20menu%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-559667%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.khoros.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F81856%22%20target%3D%22_blank%22%3E%40aniak%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20ran%20into%20the%20same%20issue%20before%20we%20launched%20our%20TKB.%3C%2FP%3E%3CP%3EYou%20can%20try%20adding%20this%20CSS%20to%20hide%20it%3A%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-css%22%3E%3CCODE%3E%23lia-body%20.lia-content%20select.lia-search-form-granularity.search-granularity%20option%5Btitle%3D%22Knowledge%20Base%22%5D%20%7B%20display%3A%20none%3B%20%7D%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20might%20want%20to%20test%20with%20IE%20and%20Firefox%20though...%20I%20recall%20an%20issue%20where%20those%20browsers%20weren't%20recognizing%20the%20CSS%2C%20but%20that%20was%20quite%20a%20while%20ago.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

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
Highlighted
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. 

__________________________
Highlighted
Occasional Contributor

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

aniak_0-1580469995914.png