Forum Discussion

tagged-leo's avatar
14 years ago

Do not show the "Search Granularity" dropdown in the search form widget?

Hi, I've added a custom component to be used only on the community page.  The custom component include the common search widget:

 

<div id="ask_a_question_form"><@component id="common.widget.search-form" /></div>

 

I'd like to disable the search granuliarity for this.  Is there an additional element I can put in to achieve this such as showSearchGranularity="false" />?

  • Got it to hide using CSS:

     

    .CommunityPage .search-granularity {    display: none;}

  • BrianO's avatar
    BrianO
    Lithium Alumni (Retired)

    As far as I know, it is not currently possible to remove the dropdown without custom development. Since you are the second person to ask this week, it seems like this idea is gaining some traction.

     

    I would suggest opening a case to see if the team here has any ideas of ways to accomplish this and/or add it as an enhancement request in our Ideas area.

    • Thanks Brian.  I'll go ahead and request it in the ideas section. 

       

      Perhaps there's a way to just hide this element using CSS.  

       

      If I wanted to hide something specific to the "CommunityPage" how would I do this?  Can you direct me to the right place?

      • tagged-leo's avatar
        tagged-leo
        Ace

        Got it to hide using CSS:

         

        .CommunityPage .search-granularity {    display: none;}