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


Decorative

Multi-faith spaces on campus

Read on to see where there are multi-faith prayer rooms available on campus.

Mon 25 Mar 2024

Officer updates: Timetabling and Tuition fees

Following successful consultation and collaboration between your GSU Officer team and Student and Academic Services Executive Director, Rachel Ashton, significant work has been completed to address two of the biggest challenges that students currently face at Greenwich; Timetabling and Tuition fee payments.

Mon 31 Mar 2025

Your 2025/26 GSU Officer Team

Today, we’re excited to announce your new GSU Officer Team and celebrate the hard work of all our candidates, volunteers, and, of course, YOU – the students who make GSU what it is.

Mon 24 Feb 2025

Wrapping up Disability History Month 2024 at GSU

As Disability History Month comes to a close, we’ve compiled five simple, actionable ways you can be an effective ally and be inclusive of disabled friends, students, and colleagues – even after the month is over.

Tue 17 Dec 2024

Introducing your 2024/25 Liberation Chairs

At Greenwich Students’ Union (GSU), we are proud to introduce the eight Liberation Chairs for this academic year. Elected by you, these roles are vital in ensuring that every student feels represented, valued, and supported during their time at the University of Greenwich.

Mon 09 Dec 2024