Question
我如何添加一个note disclaimer to a Help Center article?
Answer
Adding a disclaimer to a Help Center article can be extremely useful for drawing attention to crucial information. Below is an example of a note disclaimer:
Disclaimer:This article is provided for instructional purposes only. Zendesk does not support or guarantee the code. Zendesk also can't provide support for third-party technologies such as JavaScript, jQuery, or CSS. Please post any issues you have in the comments section or try searching for a solution online.
Adding disclaimers to your Help Center template CSS
Before starting to add disclaimers to your Help Center articles, add the disclaimer style to the CSS portion of your Help Center template. For help on customizing Help Center templates, see the article:Customizing your Help Center theme.
To add disclaimers to your Help Center template CSS
- In Guide, click theCustomize designicon () in the sidebar.
- Click the theme you want to edit to open it.
- Click the options menu, then selectEdit Code.
- Clickstyle.cssat the bottom of the page to modify the CSS. The file opens in the code editor.
- Enter the following code:
/***** Note *****/ .callout { background-color: #fcf4b9; padding: 10px; margin-left: 15px; margin-right: 15px; margin-top: 15px; margin-bottom: 15px; }
- ClickSavein the top right to save your changes.
Adding the disclaimer HTML to the source code of your article
After you added the note style to your CSS template, include disclaimers in your articles by adding the HTML to the source code.
To add notes to a Help Center article
- In an article, click the源代码button () at the end of the editor's toolbar.
- In the location you want to place your note, enter the following code:These are the words that will go in your note!
- ClickOkto save the source code.
The disclaimer is added in the entered location.
2 Comments
Hello, can we add the disclaimer to just one of the languages available in our Help Center? Thanks a lot!
Hey Silvia, You can add this in one language while creating article. If you write article in english language then the article won't change in anthor language.
It depends only you that what language you would choose to write.
Thanks
Pleasesign into leave a comment.