Gravatar for matt.dinovo@avanade.com

Question by swiftus, Apr 14, 2015 10:46 AM

Is there a way to format the item count in the Facet Component?

I'd like to be able to add parentheses around the facet count - so "Web Pages (100)" - instead of the default behavior of just showing the raw number. Is there an easy way to adjust the format of the facet count number in the Facet Component?

1 Reply
Gravatar for vseguin@coveo.com

Answer by Vincent Séguin, Apr 14, 2015 10:47 AM

Hi,

I would probably do it by CSS, with a :before and :after rule on the proper element.

Ask a question