How can we change the portal ticket menu badge count color?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2020 12:58 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2020 01:07 AM
Hello,
Go to your widget and in the Css variables, add the below style, it should work
.label-primary
{
background-color:blue; //please change according to your requirement
}
If answer is helpful please mark correct!
Thanks,
Pratiksha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2020 02:04 AM
Hi Pratiksha,
My requirement is as below, I am doing service portal simulator, without using .label I have to achieve this with separate class name as highlighted in the yellow color
5. | Locate the required class for making the change to the My Tickets badge count, and apply these changes at the very end of the simulator.css CSS Include: IMPORTANT: The style should apply to only that badge (e.g. not using .label as the class) and you're only allowed to use one class name to achieve this. |

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2020 01:08 AM
Hi Shantharao,
Look for Service Portal >> Portals from Application navigator.
Open required portal & then add CSS to the Portal's CSS field as below.
.label-primary {
background-color: #ffffff;
}
This would avoid clone of widget that is used in header menu to be done.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2020 04:12 AM
Were you able to achieve this requirement ?
Regards,
Snehal