how to retain style in a cloned widgets servicenow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-19-2023 12:16 PM
I have cloned a widget sc category page widget and replaced the OOB widget without making any other changes on sc_category page. However I can see the styles of the cloned widget are missing and it shows the data in different font and colour. Can anyone help us to understand what we are missing here and how to fix it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-15-2024 07:43 AM
Hello @lawrencemgann ,
Have you incorporated the page into any new portal? Each portal might have its own unique font and theme.
Thanks,
Alka Chaudhary
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-14-2024 05:06 AM
I'm facing the same issue? Did you find any fix for this please let me know thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-15-2024 08:33 AM
Yes! There are additional CSS styles applied to widgets by the service portal CSS sheets.
Go to Service Portal > CSS and filter for the widget/page then add the cloned widget to the relevant sheets.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-17-2024 06:39 AM
I'm having the same issue, could you please provide a more detailed step by step instruction on how to solve this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-12-2025 06:33 AM
Thank you for this tip!
I added my cloned widget just below the original widget in the CSS style sheet and it fixed the problem for me. All I needed to do was to update the widget sys ID (needs to start with the 'v' letter).