Gravatar for shirazi@rdacorp.com

Question by aga, Oct 26, 2015 3:44 PM

Coveo Facet UI Template

Hi,

Im using coveo for sitecore and I know I can customize the styling of the Facet using CSS but I am looking for a way I could customize the Facet using a template (similar to how we customize the search results).

I've come across this guide but that doesnt make use of template. What i want to do is to change the markup of the facets.

1 Reply
Gravatar for jflheureux@coveo.com

Answer by Jean-François L'Heureux, Oct 26, 2015 10:16 PM

You can't change the markup of facet because this is a JS UI component unlike the results which are templated. You might hook to some JS UI events to modify the DOM after it is refreshed for every query but I don't recommend to do it because the DOM elements might change slightly between version of the product when you upgrade.

Ask a question