- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2025 07:37 AM
Hi everyone, in the backend I see the PNG image inserted into the KB article displayed full-width.
Is there any way to achieve this on the portal?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2025 05:06 AM
Hello @RaViCZ ,
Thanks. There is a typo: it's "max-width", not "max-widt". Once you fix this it will work.
Regards,
Robert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2025 06:38 AM
Hello @RaViCZ ,
Actually, the scaling method works fine, as demonstrated in my screen shot. At least for the Widget that is used in Employee Center. Can you please share the HTML code of your article?
> The article contains only one image.
Yeah, but that image itself contains several small images. I was talking about those: just extract them and put them underneath each other and your article will look much better.
Regards,
Robert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2025 04:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2025 05:06 AM
Hello @RaViCZ ,
Thanks. There is a typo: it's "max-width", not "max-widt". Once you fix this it will work.
Regards,
Robert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2025 12:28 AM
Omg, you're right — it's fixed now. I can't believe I missed that! Such a silly mistake. 😅 Thanks a lot, Robert.
Regards,
Radek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2025 05:24 AM
Hi @RaViCZ ,
In Service Portal --> Themes, select the default theme you are using and update the CSS variable with the below...
.kb-article-content img {
max-width: 100% !important;
height: auto !important;
display: block;
margin: 0 auto;
}
Let me know if this works for you.
Regards,
Ram Ardhani.