Add CSS to content of iframe on Service Portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2023 06:23 PM
Hi,
I have been task with displaying reports on the Service Portal for our Leadership team. I have created an iframe on the portal that looks at Dashboard. The use case is because they don't want our leadership team to have to go to 2 separate areas, they want them to use the Service Portal.
I got the iframe to display the Dashboard, but what I was wondering if there is a way to do a little css on the content from that iframe.
Does anyone know how I can go about this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2023 09:27 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2023 07:16 PM
Sorry for the delay.
I am using a iframe in the HTML Widget on the Service Portal. I just added the iframe to the source code of that widget.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2023 09:58 PM
@Dazler ,
In iframe, Overflow: hidden won't work.
<iframe src="demo_iframe.htm" style="border:10px solid red; height:200px;width:200px;" title="Iframe Example"></iframe>
Please hit like and mark my response as correct if that helps
Regards,
Sonali Nimbalkar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2023 11:36 AM
I know how to add css style to the iframe, but what I am trying to do is do some css style to the source of the iframe.