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:
- Entity preview (see rules, settings, and tips in this Community post)
- Pinned filters
-
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);
}