Skip to main content
A11ey
Helper ⭐️⭐️
Apr 12, 2023 9:30 PM UTC

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

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

 

4 replies

Alistair FIeld
Expert ⭐️
Apr 13, 2023 12:37 PM UTC

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?

Translate
The needs of the many, outweigh the needs of the few. 🖖
Alistair FIeld
Expert ⭐️
Apr 13, 2023 12:38 PM UTC

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

Translate
The needs of the many, outweigh the needs of the few. 🖖
A11ey
A11eyAuthor
Helper ⭐️⭐️
Apr 13, 2023 1:43 PM UTC

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

Translate
Alley Fasching, Director of LogicMonitor Community
Alistair FIeld
Expert ⭐️
Apr 13, 2023 9:25 PM UTC

All good now @A11ey !

 

Thank you for sharing! 

Translate
The needs of the many, outweigh the needs of the few. 🖖