πŸ—“ April 20, 2021: Hitchhikers Office Hours

Add questions or topics below that you would like to have answered or discussed during this office hours session!

@Alyssa_Hubbard - heya, would we be able to cover how to add logic to bold words within the description of the link-standard card if they are the same as the entered query?

For example, if a user searches β€œupgrade” we bold all words that read β€œupgrade” in the card description. I have it working for some clients but not all.

I thought the below was the required CSS, but it doesn’t work across all experiences.

  .HitchhikerLinkStandard-detailsText b,
  .HitchhikerLinkStandard-detailsText strong {
    font-weight: var(--yxt-font-weight-bold);
  }

Thanks for joining Office Hours! Today we covered:

  • Knowledge Graph: Entity search updates available for early access from now until our Summer Release:

  • Answers: Dynamic Text Highlighting

@Scott_Howlett We’ll follow up on your question shortly!

Here’s the recording:

@Scott_Howlett To answer your question on highlighting text in the link-standard card, the third party backend you use must pass along <b> tags for us to add styling on the frontend. Currently Google Custom Search Engines do this, while Bing Custom Search does not. If the third party vertical does pass these tags on, you can add the following to the answers.scss file:

.HitchhikerLinkStandard-detailsText b {
 font-weight: var(--yxt-font-weight-bold);
}