The CreatorCon Call for Content is officially open! Get started here.

How to change hover effect for the Categories widget in Service Portal

Joshua Comeau
Kilo Sage

Looking into on where and how to change the color

1 REPLY 1

Ahmmed Ali
Mega Sage
Mega Sage

Hello @Joshua Comeau 

 

You can open the widget instance from sc_category portal page and "SC Categories" widget. Then update CSS for as below to modify hover (Mouse hover) and focus (Selected) components.

 

.category-widget .category-list .group-item-primary:hover, .category-widget .category-list .group-item-primary:focus{
border-left: 0.3rem solid red !important;
background-color: green;
}

 

I just tried modifying color. you can add CSS as per your requirement.

 

Thanks,

Ali

If I could help you with your Query then, please hit the Thumb Icon and mark my answer as Correct!!

Thank you,
Ali