Skip to content

News Article

Adding alert boxes

Alert boxes are useful for highlighting important bits of information.

staff training
No ratings yet. Log in to rate.

Why use alert boxes?

If there's a key piece of information that could do with a bit of extra attention, an alert box is a great way of doing that.

Alert boxes look like this

Each alert box has room for a heading and some extra content. But don't go too wild with them - use them sparingly or they'll lose their impact.

Get the code

To put in an alert box, copy and paste the code below into the Source view of your article's content.


<div class="alert">
	<h2>Lorem ipsum</h2>
	<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
</div>