colored boxes in "knowledgebase"

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
roymx
Posts: 4
Joined: Sun Aug 11, 2019 8:21 am

colored boxes in "knowledgebase"

Post 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
Klemen
Site Admin
Posts: 10143
Joined: Fri Feb 11, 2005 4:04 pm

Re: colored boxes in "knowledgebase"

Post 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
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Post Reply