Question
- Why do icons appear on Search Results even though there are no icons selected for a content source in the admin panel?
- Why Metadata results show no icons even though there are icons selected for a content source in the Admin panel?
- Can we refer to the asset library in Search Client's designer tab for the CSS?
Environment | Production |
---|---|
Reported product version | C'20 |
Resolved in version | C'20 |
Module | Search Client |
Answer
-
By default, search results display the thumbnails fetched by the SearchUnify crawlers while crawling the webpage. So when community pages are crawled, crawlers automatically pick up the images available on the page and display those as a thumbnail on the search results.
To hide these thumbnails, you can add the below-mentioned entry in the CSS stylesheet under Admin Panel > Search Client > Designer tab:
".su__featured-thumbnail { display: none; } .su__list-inner-text { width: 100%; }"
-
Icons are not shown for the search results metadata. Furthermore, you can hide the metadata information of the search results from the Admin panel by following the below document.
https://docs.searchunify.com/Content/End-User-Personalization/Personalize-How-Results-Are-Displayed.htm? -
Yes, we can refer to icons stored in the asset library in Search Client's designer tab for CSS. For Example: If we have to change the background URL of a tile view, we can update CSS as shown below to point to an icon stored in the asset library.
bg-grid_view_active{display:inline-block;width:21px;height:21px;background:url(../../../resources/Asset-Library/${ImageName}) -221px -628px}
Comments
0 comments
Please sign in to leave a comment.