How can I add a note box to my guide articles without going to the CSS of the theme?
RespondidaI would like to add a note box into the source code of an article, it needs to be in a specific article with a specific color (grey) and I don't want to add it to the overall CSS so what would be the source code to add in a note box or warning box to just the article?
-
Hey,
You can use this source code to add the note-box without using the stylesheet of the theme:
//Note Block Source code
<section>
<div style="background-color: #ddd; padding: 15px;">
<p>
// Download image and import in this article for the block-icon
<img style="vertical-align: middle;" src="https://support.zendesk.com/hc/article_attachments/icon/exclamation.png" alt="exclamation.png" width="21" height="21">Note:
</p>
<p>This is Note Block.</p>
</div>
</section>Output:
ThanksTeam
Por favor, entrar para comentar.
1 Comentários