Remove Horizontal Scroll Bar

jeeerwin123
Tera Contributor

Hello everyone,

This is my first time creating a Knowledge Article in ServiceNow and I can't really make my article centered and remove this Horizontal scrollbar. I've currently set the width of my body class to 750px so that the readers wont need to scroll horizontally to read the article.

Any help to my problem will be highly appreciated. Thank you!

jeeerwin123_1-1676909168154.png

 

 

2 REPLIES 2

SatyakiBose
Mega Sage

Hello @jeeerwin123 

It seems that the widget being used to render the KB article is not the OOB widget - Knowledge Article Content

Can you please validate it from your end.

I created an article and the centre aligned without any scroll bar.

SatyakiBose_0-1676913304914.png

If the widget has not been customized, can you check if the portal is using a custom theme (more specifically it could be an issue with the CSS)

Lucas Vieites
Tera Guru

Hi there, this usually happens when you have an element in your content that has a fixed width; like an image, a table, or a paragraph where the regular spaces have been replaced by non-breaking spaces (  in HTML).

Can you check whether any of these (or similar) elements are present in your article?

 

Sometimes, using the Clear formatting feature (tinymce_clear_formatting.png) fixes this, but you need to have it enabled in the toolbar.

Kind regards,
Lucas Vieites
P.S. If my reply helped you, please mark it as helpful or correct so other community members can benefit from this information.