Cards and alert boxes

Cards and alert boxes are really useful for making your content stand out.

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>

Why use cards?

These are more subtle and better for organising information on a page.

Cards look like this

Each card 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 a card, copy and paste the code below into the Source view of your article's content.


<div class="card">
	<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>

You can also pop them in columns

Column one

Column two

Get the code

To put in multiple cards in two columns, copy and paste the code below into the Source view of your article's content.


<div class="cards-container">
	<div class="card">
		<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>
	<div class="card">
		<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>
</div>

Comments

Enable Recite Me accessibility tools

 

Other news


Have your say! Come along to the Greenwich Students’ Union General Meeting

Come along to the Greenwich Students’ Union general meeting on 1st June 2026. All students are invited to attend and to vote on changes to the GSU Articles of Association.

Fri 15 May 2026

Summer Closures at GSU and more!

Read this article to check out our opening hours for our outlets and reception desks.

Mon 11 May 2026

Greenwich Students’ Union & Kent Students’ Union propose to merge

Today, Greenwich Students’ Union are excited to announce plans for a proposed merger with Kent Students’ Union.

Tue 28 Apr 2026

Amplifying Women’s Voices in Law: Daria’s Story at Greenwich

This Women’s History Month, we’re proud to spotlight Daria's story as a reminder of the impact women continue to make within academic and professional spaces.

Fri 27 Mar 2026

BUCS Southeastern Finals

Read more to find out what Team Greenwich and Team Medway have achieved!

Wed 25 Mar 2026