Add Note and Warning boxes to your Guide articles | The place for Zendesk users to come together and share
Skip to main content

Add Note and Warning boxes to your Guide articles

  • August 19, 2015
  • 29 replies
  • 258 views

Show first post

29 replies

Kathy18
  • May 25, 2022

Hi, we translate over a dozen languages in our help center. how does translation work with disclaimers?


  • May 25, 2022

Hi @kathy18,

For each language variation you would have your article in, you would select the text you would like to be in a note or warning box and choose either the note or warning colour you have selected in your CSS. In your HelpCenter the text you have selected in your article should then appear in a box.

If you like to include text in a box outside of your articles, you probably need to edit the HTML code in the .hbs template file your text appears. You would only need to make sure the content defined by the curlybars you have included in the template file will be displayed in the note or warning colour.   

If you would like to also have a header, like IMPORTANT or TIP, displayed in the correct language, you could try if including a placeholder with dynamic content in your CSS would work. But I am not sure that would work. 


  • December 30, 2022

This was great, thanks for tip


  • April 23, 2026

Hi all,

In the interest of sharing as I have found many additions on the community that have been helpful, we are using the above method within our help centre but have amended the code as follows to fit in with our style.

span[class=wysiwyg-color-red130] {
background: #ffefef;
color: #631010;
text-align: justify;
border-left: 5px solid #ff0000;
margin: 1.5em 10px;
padding: 0.5em 10px;
display: block;
}

span[class=wysiwyg-color-red130]:before {
display: block;
white-space: pre;
content: "Important:";
font-size: 2em;
}

DqBXYNWa-BXsDODQatGHJA.png

Or

span[class=wysiwyg-color-green130] {
background: #e2ffe4;
color: #1b591f;
text-align: justify;
border-left: 5px solid #00ba0c;
margin: 1.5em 10px;
padding: 0.5em 10px;
display: block;
}

span[class=wysiwyg-color-green130]:before {
display: block;
white-space: pre;
content: "Tip:";
font-size: 2em;
}

eYFwVsnaRnxuaqPU9GFrvA.png

We have further uses as well to highlight other items but using the above and just changing the swatch color 

This bit span[class=wysiwyg-color-green130]

you can have as many as you wish ensuring you don't use any colors that are used as actual font changes. (We only use the bottom row swatches for example with all staff made aware that they are only used to achieve the notice windows)

 

I have been using this code for years but with the update it doesn’t seem to work anymore. I don’t know how to add it back into my guides and am worried about editing ones that currently have it. Has anyone figured out workarounds for this?