Does anybody know how to fix it when the top line of the featured snippet is cut off?
Hi Ryan and Sarah,
Looks like you both are still on Theme v1.19 and the new featured snippet card is in Theme v1.20, which is now available just with the early-access branch. Youâll need to use the spring21-early-access version of the Theme branch to do this, which you can upgrade to by following these instructions.
Once you upgrade, youâll need to update your config/index.json fileâs directAnswer object like this:
âDirectAnswerâ: {
âtypesâ: {
'FEATURED_SNIPPET': {
âcardTypeâ: "documentsearch-standard"
},
'FIELD_VALUE': {
âcardTypeâ: "allfields-standard"
}
}
}
Let us know if that helps!
What would be the reason that a featured snippet not be returned on the SERP but show up in the âFeatured Snippets Trainingâ?
Hi Liz,
Thank you so much for the instructions. Not sure what I am doing wrong, but I went ahead and upgraded the theme following the instructions you highlighted and then updated my index.json file as well⌠one thing I did notice is that for âFEATURED_SNIPPETâ when I entered it with just one â it gave me an error so I updated it to âFEATURED_SNIPPETâ either way my results have disappeared in the SERP altogether. Attaching all the screenshots.
Hey Ryan - usually anything thatâs approved in Experience Training should automatically show up in the results. Did anything about this entity change? Or did the order of results?
If the order of results changes or if you significantly alter the field that the original featured snippet was produced one, this can invalidate the training example.
Hi @Liz_Frailey Iâm having a similar issue. Iâve noticed that the documentsearch-standard
direct answer card isnât in the theme. Is there a patch I can apply? I think this may be why the formatting is off.
Hey all - just confirming with @John_McGraw that we resolved his issue offline. The fix was to move his repo to the Spring '21 EA branch.
Sam
Thanks, @Sam_Torres for the help! Yes, as an FYI, this was a playground account that I generated from the Hitchhiker site, and the theme upgrade feature/early-access-spring-21
wasnât already included. So, if youâre looking to leverage these features it still needs to be added.
Hi @Liz_Frailey can you please confirm if we should still add that directAnswer object even if we are on version 1.26.0? Also, I think âFEATURED_SNIPPETâ and âFIELD_VALUEâ should have " instead of â correct?