Remove the scroll bar on the Content Block iframe on homepage

JC S_
Mega Guru

We added a content block for iframe and added it on a dashboard. However, there is scroll bar on the side of the iframe which we want to be removed. The content block is set to fit to content.

find_real_file.png

7 REPLIES 7

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Jc,

 

Use following to remove the scroll bar. add this attribute to the html tag of iframe

scrolling= "no"

 

Mark Correct if this solves your issue and also hit Like and Helpful if you find my response worthy based on the impact.
Thanks
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

This is an iframe content block. Where do you put that html tag as I don't see any place to put that there, just the link of the website you want to load on the iframe.

Hi Jc,

I got your point. It's content block iframe under content management.

Can you add dynamic content block on that page and within dynamic content block you can add <iframe> tag with the scroll attribute and url.

Can you share screenshot?

 

Regards

Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Hi Ankur,

Already tried that but the iframe tag is removed altogether after you save the record.