Issues with Icons appearing in Search Results



  • Question

    1. Why do icons appear on Search Results even though there are no icons selected for a content source in the admin panel?
    2. Why Metadata results show no icons even though there are icons selected for a content source in the Admin panel?
    3. 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

    1. 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 them as a thumbnail on the search results.
      In order to hide such thumbnails, you can add an entry ".su__m-thumbnail-img .su-thumb { display: none; }" in the CSS stylesheet under Admin Panel -> Search Client -> Designer tab.

    2. 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?

    3. 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}


Log in to reply
 

Suggested Topics

  • 0
  • 0
  • 0
  • 0
  • 0
  • 0
  • 0
  • 0