Skip to content

Celebrating our new site: 30% off everything with code , until Dec 1.

Bright Themes

Pros and cons for Ghost

Two lists side by side, with ticks and crosses, for reviews and comparisons; they stack on phones.

  • Works with any Ghost theme

New to Ghost snippets?

Build a card once, save it as a snippet, and add it to any post from the card menu. The tutorial shows each step.

Demo

Pros

  • Wide, readable text column with a clear type scale
  • Members, paid tiers and newsletters work out of the box
  • Light and dark versions that follow the reader's setting

Cons

  • Two homepage layouts only
  • Changing the fonts beyond Ghost's choices takes custom CSS
Narrow the window: the two lists sit side by side while there's room and stack when there isn't.

When to use it

  • A product or app review, as the verdict box just before your final recommendation.
  • A post weighing two choices, such as two plans, two tools or two routes, before you say which you'd pick.
  • A roundup of books, courses or gear, with a short pair of lists under each pick.

When not to: For one product with a star rating and a buy link, Ghost's Product card has both built in.

The code

<div class="bt-pros-cons">
  <div class="bt-pros-cons-column bt-pros-cons-pros">
    <h3 class="bt-pros-cons-title">Pros</h3>
    <ul class="bt-pros-cons-list">
      <li>Wide, readable text column with a clear type scale</li>
      <li>Members, paid tiers and newsletters work out of the box</li>
      <li>Light and dark versions that follow the reader's setting</li>
    </ul>
  </div>
  <div class="bt-pros-cons-column bt-pros-cons-cons">
    <h3 class="bt-pros-cons-title">Cons</h3>
    <ul class="bt-pros-cons-list">
      <li>Two homepage layouts only</li>
      <li>Changing the fonts beyond Ghost's choices takes custom CSS</li>
    </ul>
  </div>
</div>

Add it to your site

  1. Copy the CSS and paste it in Settings › Advanced › Code injection › Site headerSettings › Advanced › Code injection › Site header (opens your Ghost Admin in a new tab), between <style> and </style>. Once per site.
  2. In a post, add an HTML card (type /html) and paste the HTML.
  3. Change the example text to your own, then publish or update the post.

Tip

Save the card as a Ghost snippet to add it to any post from the card menu: how Ghost snippets work.

How it works

Each column is a heading and a plain list. The heading says which list it is, so a screen reader announces “Pros” or “Cons” before the items, and the ticks and crosses are drawn by the CSS as plain shapes, so they aren’t read out a second time. Color is never the only signal: the heading and the mark tell the two lists apart too.

The columns sit side by side when each has at least 15em of room and stack on phones, without a media query, so they fit narrow theme layouts as well as wide ones. Add a third bt-pros-cons-column (for example “Good to know”) and the grid makes room for it. The headings are <h3>, which suits a review whose sections use <h2>; change the level to fit your post, and the look stays the same. The text and font come from your theme, so the columns work on light and dark themes.

The marks use green and red rather than your accent color, since a tick in your brand color reads as neither good nor bad. Set --bt-pros-cons-pro and --bt-pros-cons-con to change them. To reuse the card in every review, save it as a Ghost snippet: see how to use Ghost snippets. The CSS from code injection doesn’t reach emails, so in a newsletter the lists show plain, with their headings.

Customize

VariableDefaultWhat it changes
--bt-pros-cons-pro#15803dThe color of the Pros column: its top border, tint and ticks.
--bt-pros-cons-con#dc2626The color of the Cons column: its top border, tint and crosses.
--bt-pros-cons-tint6%How much of each column's color tints its background. 0% for no background.
--bt-pros-cons-radius6pxThe corner radius.
Works with every Ghost theme, including ours. Something not right? Ask us.

All snippets

Launch a better Ghost site

From a solo newsletter to a busy newsroom, there is a theme that fits. No code needed.