Gravatar for maheshbpatil@gmail.com

Question by Mahesh Patil, Jan 31, 2017 12:24 PM

Coveo Recommendation widget- change in icon and font

Hi Team, I am looking for changing the icon that is displayed in recommendation widget and changing the font as well. This is needed to make the widget's look and feel in line with hosting website's look and feel. alt text

I see that it is just a plug and play widget with a div tags alt text

Did anyone attempt this kind of excercise? Please share your thoughts and some pointers.

Thanks -Mahesh Patil

1 Reply
Gravatar for flguillemette@coveo.com

Answer by François Lachance-Guillemette, Jan 31, 2017 1:37 PM

Hi @maheshbpatil !

The Recommendations Widget is also a standard CoveoSearchInterface component, meaning you can add a ResultList with a result template just like a standard Search Interface.

You can follow the steps in the public API documentation to create your own result template and modify the icon in the way you like using standard coveo-search-ui components.

You can base your template on the existing one located here, this will give you a good start that you can then customize.

The documentation here also covers this topic pretty well.

Let us know if it worked for you!

FLG

Gravatar for maheshbpatil@gmail.com

Comment by Mahesh Patil, Feb 2, 2017 7:36 AM

Thanks @flguillemette

Ask a question