Skip to main content

Hiding non-Community Federated Search content sources on Community Home Page


A11ey
  • Helper ⭐️⭐️
  • 43 replies

I looked thru the documentation in the community, but did not find an answer so I thought I would share.  With Federated Search, I did not want external content to show on the drop down menu(image 1) but wanted to display it on the Search page (image 2).  My reasoning for this was to keep more people in the Community from their initial home page search, since we just migrated our old platform and launched our new community in Jan 2023, we were reaching new audiences, that were not familiar with our old Community.   After multiple conversations, we discovered this was a very simple fix.  Simply go to your Custom CSS and add the following line of code.  We just dropped it at the bottom. (granted if you are using something custom you may have to edit this to meet your needs)

.homepage-widget-container .algolia-search-container .algolia-hit-container div:not(:first-child) {
    display: none;    

 


 

Allison Fasching

Director of Customer Community

 

1.913.221.6912

s-nf0DoIZceCBhkMYjBdZgyau2LiRvdf-TPcXEgnwoNmqwLsTs6dkuklSPmNgN9qT3RoQecCz8wWgx0N3oN9EMzrKbYUhlTdcNkc68oSfeJsUpdfmpuix6S9Be6jFSNIJz-wO-erOYc7io3_DKyJGf1F0OzQ7K0DQtHr1wjlVu2XaXO2BIu14C6RrA-i

 

Alistair FIeld
Forum|alt.badge.img+2

Hi @A11ey 

Very impressed you found your own solution. Great Stuff.

The images however are NOT visible. Are you able to insert them once more?


Alistair FIeld
Forum|alt.badge.img+2

p.s. I have also moved the topic in to the Customisation category. 


A11ey
  • Helper ⭐️⭐️
  • April 13, 2023

@Alistair FIeld images have been updated. They were showing for me before, and I can see them now, so LMK if you still cannot see them.


Alistair FIeld
Forum|alt.badge.img+2

All good now @A11ey !

 

Thank you for sharing! 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings