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


Leading with Purpose: What Our President Has Been Working on This Term

As the academic year gained momentum, GSU’s President, Abdul Mumin, spent the term listening to students and turning feedback into action. From shaping democratic change to addressing academic and wellbeing concerns, here’s what he’s been working on for you!

Tue 23 Dec 2025

Turning Feedback into Change: Representing Students Where It Matters Chirag Ahuja – GSU Officer

As the term unfolded, GSU Officer Chirag Ahuja focused on strengthening student representation, improving academic experience, and making sure student concerns were raised where decisions are made.

Tue 23 Dec 2025

Building Community and Opportunity: A Term at Medway Hari Prasad Boddupally – Medway Campus Officer

This term, Medway Campus Officer Hari Prasad Boddupally focused on bringing energy to campus life, strengthening student support, and ensuring Medway students are heard both within and beyond the university.

Tue 23 Dec 2025

Creating Inclusive Spaces: A Term Focused on Student Experience Saif Mollah Chanchol – GSU Officer

This term, GSU Officer Saif Mollah Chanchol focused on improving study spaces, strengthening inclusion, and making sure student feedback leads to tangible change across the university.

Tue 23 Dec 2025

Welcome to Policy Corner

Welcome to the very first article of GSU Policy Corner!

Tue 16 Dec 2025