How to change bookmark icon

sagar_basu
Tera Contributor

Hi All,

 

How can I change Favorites icon from heart to star in Employee center : Menu , during bookmark from KB etc.

I want to replace the favorite icon everywhere in Employee Center (Not Employee center pro)

sagar_basu_0-1676053270789.png

Thanks,

Sagar

1 ACCEPTED SOLUTION

@sagar_basu , I am little confused, your first question is about replacing heart icon everywhere.

 

To clarify on Quick start config, that is a single source of truth wherever favorite feature is used in the portal, so any change will reflect everywhere.

 

If you want to just change menu to show let's say "My Favorites" instead of a heart icon, you need to customize/clone Employee Center Header widget and update code where we show heart icon currently

<a href="?id=favorites_list" id="favorites" aria-label="${My favorites}" role="menuitem" 
                  data-toggle="tooltip" title="${My favorites}" data-placement="bottom"> 
                 <span aria-hidden="true">${My favorites}</span>
</a>  

 

~BR

Pooja Patil

Please mark this as helpful and accepted solution if applicable.

View solution in original post

6 REPLIES 6

Shubham_Shinde
Giga Guru

Hello @sagar_basu 

You can change the favourite icon by navigating to Service Portal Config (sp_config) page --> Portals --> Employee Center, then selecting Employee Center from the map and updating the Quick Start Config by replacing fa-heart and fa-heart-o with your desired fa-icon:

ShubhamShinde1_0-1676055215566.png

 

You can find fa-icons list here: https://faicons.com/

If my answer has helped with your question, please mark it as helpful and give it a thumbs up!

 

Regards,

Shubham

@Shubham_Shinde , How can I replace that icon with title only on header menu. I do not want to replace icon anywhere else. Please suggest.

Hi @Pooja_Patil Can you please guide me , How can I replace that heart icon with title only on header menu. I do not want to replace icon anywhere else. 

 

Thanks,

@sagar_basu , I am little confused, your first question is about replacing heart icon everywhere.

 

To clarify on Quick start config, that is a single source of truth wherever favorite feature is used in the portal, so any change will reflect everywhere.

 

If you want to just change menu to show let's say "My Favorites" instead of a heart icon, you need to customize/clone Employee Center Header widget and update code where we show heart icon currently

<a href="?id=favorites_list" id="favorites" aria-label="${My favorites}" role="menuitem" 
                  data-toggle="tooltip" title="${My favorites}" data-placement="bottom"> 
                 <span aria-hidden="true">${My favorites}</span>
</a>  

 

~BR

Pooja Patil

Please mark this as helpful and accepted solution if applicable.