- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2022 02:20 AM
I want to change the hover effect for the Category widget in the KB View page of the service portal.
When I try to change the background color for the class ".group-item-default", it changes the whole background. But when I change the hover effect for the same class, it only changes a portion of the entire tab (As shown in image below).
I am adding the following CSS code in the widget instance CSS field:
.group-item-default :hover {
background-color: #ff0000;
}
Please advise on how to change the color for the entire tab.
Thanks.
Solved! Go to Solution.
- Labels:
-
Service Portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2022 06:20 AM
Hey,
Try this
.group-item-default {
&:hover, &:focus {
background-color: red !important;
}
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2022 02:38 AM
Hi,
Try this
.list-group-item :hover {
background-color: #ff0000;
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2022 02:42 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2022 02:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2022 03:40 AM