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


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

University is not just about gaining knowledge; it’s about finding your voice, challenging perspectives, and shaping the future you want to be part of. For Daria Ilyushenkova, her journey at Greenwich has been defined by curiosity, resilience, and a commitment to justice. This Women’s History Month, we’re proud to spotlight her 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

February at GSU: Your Officer Updates

February was a busy and impactful month at Greenwich Students’ Union. With elections taking place and student priorities continuing to evolve, your Officer team remained focused on representation, wellbeing, academic experience, and building safer, more supportive campuses for all.

Here’s what they’ve been working on throughout the month.

Wed 25 Mar 2026

Greenwich Students’ Union Statement on the Meningococcal Meningitis Outbreak

We are deeply saddened to hear the news of a student death from meningitis at the University of Kent - see our statement here.

Mon 16 Mar 2026

This Girl Can Blog

Embodying ‘This Girl Can’, both Rebecca Miller and Jessica De La Rosa are outstanding female athletes dedicated to their sport and team. Read more to find out about their stories!

Tue 24 Mar 2026