Using KB Article Template Heading and Field styles: Is there a guide somewhere?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-28-2020 08:25 AM
Is there a guide somewhere on how to effectively use the KB article template Heading and Field styles? I've only been able to find the very brief description in the Help pages, nothing that goes in-depth and explains what works vs what does. not.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-22-2020 01:19 PM
Okay, so no guide. Well, through trial and error we found at least these items that work:
font-family: [a font family];
font-size: [a size spec];
color: [a color]
Also, we found that we can hide a template field label by using
display: none (Thank you Tom, our SN Dev)
which can be handy if, for instance, you need to use a final template field for adding a knowledge block at the end of an article as sort of a footer, without having a label above it.
Incidentally, for the font-size specification we found that most of the size types (pt, px, em, etc.) worked but did not always give good results with the font size we use, so for now we stick with pt.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-27-2021 11:47 PM
Hi Andrew,
I cant get it work...
Can you post a Code Example?
Thx & BR
Alexander
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-30-2021 01:58 PM