Knowledge headings and formatting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2023 09:31 AM
When I started out on this journey of creating Knowledge Articles, I looked at the format of our templates and decided that, as H1 was actually bigger than the Title of the article, I encouraged my authors to use H4 for headings. This may have been a mistake because now I can't use TOCs (they use H1 thru H3 only).
Where am I going wrong? Should I ask the Developers to change the size of the H1 font? Is that what everyone else has done? You can see from the snipimage below what I mean about sizes (which I've done in the style of a menu, but we are not a restaurant!). H1 is huge, and bigger than the article title.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2023 02:09 PM
Have you tried defining custom styles in your articles? I used to, but it no longer works since we moved to Tokyo (not sure if the issue is Tokyo or our local configuration). Here's an example of the code I would add to the top of each article:
<style>
h1 {
font-family: arial;
font-size: 20px;
font-weight: bold;
margin-bottom: 10px;
padding-top: 15pt;
}
h2 {
font-family: arial;
font-size: 16px;
font-weight: bold;
margin-bottom: 10px;
padding-top: 15pt;
}
h3 {
font-family: arial;
font-size: 12px;
font-weight: bold;
margin-bottom: 10px;
padding-top: 10pt;
}
</style>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2023 10:26 AM
Style tags still work in Tokyo, with a known workaround. I believe a fix is coming in a future patch.
If you want to use <style> tags, you must first add the following before the opening <style> tag:
<p style="display: none;> </p>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2023 08:46 AM
Thank you! I was so annoyed when I could no longer use my custom styles.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2023 02:47 AM
I guess we could do this, but as I have potentially many authors (with varying commitments and interest), I do not think they would consistently add code to an article.