Page 1 of 1

colored boxes in "knowledgebase"

Posted: Tue Aug 27, 2019 6:21 am
by roymx
Hello again,

How can I put these colored boxes in the knowledge base articles. (attached image)

Image


As in this article:
https://www.hesk.com/knowledgebase/know ... article=92

thanks for your help

Re: colored boxes in "knowledgebase"

Posted: Tue Aug 27, 2019 3:32 pm
by Klemen
You will need to add this HTML code to the article:

Code: Select all

<div class="error">
<p><strong>Title</strong><br /><br />Description</p>
</div>
div class "error" will make a red box, "notice" will make a yellow one, "info" a blue one and "success" a green one.


A few notes:
  • To insert the code click the "HTML" button in the article editor.
  • If you are unsure where to place the code, just type PASTE_CODE_HERE in the article text, then click HTML and find/replace the PASTE_CODE_HERE tag
  • Note that the coloring will NOT appear when editing the article, only when you save it and open it from the knowledgebase