In the Service portal page there are so many categories when we click on particular category then it

Ankammarao
Tera Contributor

On the Service Portal page, multiple categories are available. When a user clicks on a specific category, it redirects to the catalog items related to that category. In the image below, I’ve highlighted one of the catalog items. Is it possible to apply a color shade or highlight to that specific catalog item on the portal page? If yes, could you suggest how this can be done?

2 ACCEPTED SOLUTIONS

RaghavSh
Mega Patron

@Ankammarao This is possible with Css, I believe you are on sc_category page (as shown in your screenshot).

you can check the page from url ( id=page_id).

 

Open the page in sp_page table and add below code in page specific css:

 

a[href*="575274511d830010f8776f77b927f284"] {  // replace the sys_id with the sys_od of yoyr catalog item
      background-color: grey;
}

 


Raghav
MVP 2023
LinkedIn

View solution in original post

@Ankammarao CSS requirements are not same for everyone so there can’t be an exact documentation but you can still refer below:

 

https://www.servicenow.com/community/developer-articles/changing-service-portal-widgets-look-and-fee... 


Raghav
MVP 2023
LinkedIn

View solution in original post

5 REPLIES 5

@Ankammarao Did you try the code I provided, it worked for me.

CSS requirements are specific for client so you can find the generic documentation but not always related to your requirement.


Raghav
MVP 2023
LinkedIn