Last Thursday evening out of the blue, the client asked to see the result count inside of brackets. It is a very intuitive feature that gives the searcher an indication of the big picture when searching and filtering.
The PROBLEM:
The ASK:
We were using the Coveo Atomic component, but there was no reason to not show the results inside brackets as it was the default behavior anywhere else. After much debugging, there was no indication of why the numbers were not within brackets but the client wants what the client wants. so, we took a short and simple way of implementing it using CSS.
This is an ELINTS (Explain like I’m new to Sitecore) for a clear cut explanation on Sitecore’s own documentation here.
Prequel: You have a SXA search page. You needs to show some values that are reference fields that are selected with a Droplist or Multilist. By default if you add the facet it will show GUIDs.
You can search “facet showing guid” on stackexchange for answer and you will find it but if you are like me and not paying attention to it you will need this fine detail to make it work.