Announcing the Magic Pages Open House. Quarterly calls with our team!

Semantic Classes for Easy Element Hiding on Vienna, Berlin, and Kyiv

Easily hide post metadata like reading time and author info across Vienna, Berlin, and Kyiv themes using new semantic CSS classes.

Today, somebody asked which classes they can use on the Berlin theme to hide reading time and the author name through side-wide code injection.

This sparked a broader realisation: while the Magic Pages themes work for a lot of different use cases, everyone has different needs for what metadata and sections they want to display. Some publishers love showing reading time and author info, while others prefer a cleaner, more minimal approach.

So, I quickly added these semantic classes that can be used for that, in addition to the TailwindCSS utility classes.

What's New

All three Magic Pages themes have been updated to use semantic classes for certain elements that should be hideable.

  • Berlin Theme updated to v1.3.0
  • Vienna Theme updated to v1.2.0
  • Kyiv Theme updated to v2.4.0

Available Classes Across All Themes

Post Metadata:

  • .post-reading-time - Reading time display (Berlin)
  • .post-list-reading-time - Reading time in post lists (Berlin)
  • .post-author - Author name and information
  • .post-published-date - Published date
  • .post-list-date - Published date in post lists

Theme Sections:

  • .theme-cta - Newsletter signup sections
  • .theme-footer - Footer sections

If you end up in a situation where you need other classes as well, please reach out!

How It Works

Hiding elements is now as simple as adding CSS to your code injection:

Hide reading time site-wide:

<style>
.post-reading-time,
.post-list-reading-time {
    display: none !important;
}
</style>

Hide author names:

<style>
.post-author {
    display: none !important;
}
</style>

Hide newsletter signup sections:

<style>
.theme-cta {
    display: none !important;
}
</style>

To implement these:

  1. Go to Settings → Code Injection in your Ghost admin
  2. Add your CSS in the Site Header section
  3. Click Save – changes apply immediately ✨

To use this feature, you can simply update the respective theme through the theme gallery in Ghost.

Released on 23 June 2025

This update is live for all Magic Pages customers.

New to Magic Pages? Start your 14-day free trial — no credit card required.

Questions or feedback?

Let us know what you think about this update below.

Websites powered by Magic Pages

From personal blogs to growing businesses — published with Ghost®, hosted with care.

Loading showcase sites...

Start Your 14-Day Free Trial

No credit card required