Hi I am figuring out how to use the knowledge articles internally to add to cases.
Now, It seems H1-H5, collapsable panels and so on already have some styling.
Where does it get this? is it a css somewhere?
I try to override this using a <style> tag in the beginning of the KA template but not everything is listening to that very well. especially the collapsable panels just get their inline format from some magic source...
I tried using this, and as you can see plein H1-H5 work but collapsable uses inline Tahoe
see screenshot, the yellow highlighted does not listen to any styling
I tried adding it as code here but then you do not see it so just in plain tekst
Ok, if you do get news, please share,
Later ill check experience.dynamics.com/.../ to see if someone has posted an idea
No, Peter. We opened a ticket with Microsoft as well and they have told us it is not possible to edit it at this time. We are testing out adding tags to our html code within the KA itself, but this doesn't solve our primary issue, is very time consuming, and means only select people will be able to add and edit KAs so they match our formatting requirements.
Hi OP/Kaitlin,
Did you get an answer for inline CSS on the KB Articles?
(Not the CSS for the Portal for the CS Hub)
Hi Eiken,
We are having the same issue as the OP and the files you noted did not resolve the issue. For example, the bulleted lists and numbered lists have HTML entered when the list item is created within the KA. The CSS files you mentioned do not overwrite the HTML entered. Do you know the name of the web file that would allow us to edit the style of the lists and the special container?
This is how ours displays by default for each type of text:
This is what the HTML looks like:
<div data-wrapper="true" style="font-size: 12px; font-family: "Segoe UI", "Helvetica Neue", sans-serif">test default text for html</div>
<div data-wrapper="true" style="font-size: 12px; font-family: "Segoe UI", "Helvetica Neue", sans-serif"> </div>
<ul><li data-wrapper="true" style="font-size: 12px; font-family: "Segoe UI", "Helvetica Neue", sans-serif">test bullet list for html</li></ul>
<ol><li style="font-size: 12px; font-family: "Segoe UI", "Helvetica Neue", sans-serif">test numbered list for html</li></ol>
<div data-wrapper="true" style="font-size: 12px; font-family: "Segoe UI", "Helvetica Neue", sans-serif"> </div>
<div data-wrapper="true" style="background: rgba(238, 238, 238, 1); border: 1px solid rgba(204, 204, 204, 1); padding: 5px 10px">test special container for html</div>
Hi,
Has your problem been solved? Did my answer help you?
Hi,
Thers are three CSS files in the Portal editor.
It will affect your html style.
You can edit the code in these CSS files directly and save it.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156