Hey,
We’re planning to add new sources to our federated search, but we were thinking of color-coding the the different sources in the search results.
Has anyone done such CSS application based on the source?
Any tips on how to achieve this?
Hey,
We’re planning to add new sources to our federated search, but we were thinking of color-coding the the different sources in the search results.
Has anyone done such CSS application based on the source?
Any tips on how to achieve this?
Best answer by Larry
Looping in
a.search-result[href*="support.gainsight.com"] {
background-color: #e6f7ff;
border: 1px solid #91d5ff;
padding: 8px;
margin-bottom: 5px;
display: block;
color: #1890ff;
}This way you target the href of the external link being served in the results and subsequently, style those panels using the custom CSS feature. You likely will need to play with it because this particular style doesn’t match exactly to the search results page as I ran it as a test.
I hope this is helpful! In the meantime, we will consider this as an enhancement request for the search results styling so we make it easier to customize.
If you ever had a profile with us, there's no need to create another one.
Don't worry if your email address has since changed, or you can't remember your login, just let us know at community@gainsight.com and we'll help you get started from where you left.
Else, please continue with the registration below.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.