Skip to main content
The title and subtitle elements are simple heading components that provide consistent typography for page and section headings.

Basic Title

<h1 class="title">Title</h1>
<h2 class="subtitle">Subtitle</h2>

Title Sizes

<h1 class="title is-1">Title 1</h1>
<h2 class="title is-2">Title 2</h2>
<h3 class="title is-3">Title 3</h3>
<h4 class="title is-4">Title 4</h4>
<h5 class="title is-5">Title 5</h5>
<h6 class="title is-6">Title 6</h6>

Subtitle Sizes

<h1 class="subtitle is-1">Subtitle 1</h1>
<h2 class="subtitle is-2">Subtitle 2</h2>
<h3 class="subtitle is-3">Subtitle 3</h3>
<h4 class="subtitle is-4">Subtitle 4</h4>
<h5 class="subtitle is-5">Subtitle 5</h5>
<h6 class="subtitle is-6">Subtitle 6</h6>

Title with Subtitle

<h1 class="title">Welcome to My Website</h1>
<h2 class="subtitle">A place to discover amazing content</h2>

Automatic Spacing

When a subtitle follows a title, the spacing is automatically removed:
<h1 class="title">Main Heading</h1>
<h2 class="subtitle">Supporting text that's nicely spaced</h2>

Different Size Combinations

<h1 class="title is-1">Large Title</h1>
<p class="subtitle is-3">Medium Subtitle</p>
<h2 class="title is-3">Section Title</h2>
<p class="subtitle is-5">Section description</p>
<h3 class="title is-4">Card Title</h3>
<p class="subtitle is-6">Card subtitle</p>

Spaced Modifier

Force spacing between title and subtitle:
<h1 class="title is-spaced">Title with Spacing</h1>
<h2 class="subtitle">This subtitle has normal spacing before it</h2>

Practical Examples

Hero Section

<section class="hero is-primary">
  <div class="hero-body">
    <p class="title">Hero Title</p>
    <p class="subtitle">Hero subtitle</p>
  </div>
</section>
<section class="section">
  <div class="container">
    <h1 class="title is-1">About Us</h1>
    <h2 class="subtitle is-4">Learn more about our company and mission</h2>
  </div>
</section>

Card Component

<div class="card">
  <div class="card-content">
    <p class="title is-4">Card Title</p>
    <p class="subtitle is-6">Card subtitle goes here</p>
    <div class="content">
      Card content with additional information.
    </div>
  </div>
</div>

Blog Post Header

<article>
  <h1 class="title is-2">How to Build a Website</h1>
  <p class="subtitle is-5">A comprehensive guide for beginners</p>
  <p class="has-text-grey">Published on March 4, 2026</p>
</article>

Section Headers

<section class="section">
  <h2 class="title is-3">Our Services</h2>
  <p class="subtitle is-5">What we can do for you</p>
  <!-- Content -->
</section>

<section class="section">
  <h2 class="title is-3">Contact Us</h2>
  <p class="subtitle is-5">Get in touch with our team</p>
  <!-- Content -->
</section>

Title with Tags

<h1 class="title">
  Project Name
  <span class="tag is-success">v2.0</span>
</h1>

Title with Icons

<h2 class="title">
  <span class="icon-text">
    <span class="icon has-text-primary">
      <i class="fas fa-star"></i>
    </span>
    <span>Featured Content</span>
  </span>
</h2>

Title Emphasis

<h1 class="title">
  Welcome to <strong>Our Platform</strong>
</h1>

<h2 class="subtitle">
  The <em>best</em> place to get things done
</h2>

With Subscript and Superscript

<h1 class="title">
  Formula: E=mc<sup>2</sup>
</h1>

<h2 class="subtitle">
  Water: H<sub>2</sub>O
</h2>

Responsive Title Sizes

Combine with responsive helpers:
<h1 class="title is-1-desktop is-2-tablet is-3-mobile">
  Responsive Title
</h1>

Color Modifiers

Use text color helpers:
<h1 class="title has-text-primary">Primary Title</h1>
<h2 class="subtitle has-text-grey">Grey Subtitle</h2>

<h1 class="title has-text-success">Success Title</h1>
<h2 class="subtitle has-text-danger">Danger Subtitle</h2>

Text Alignment

<h1 class="title has-text-centered">Centered Title</h1>
<h2 class="subtitle has-text-centered">Centered Subtitle</h2>

<h1 class="title has-text-right">Right-Aligned Title</h1>
<h2 class="subtitle has-text-right">Right-Aligned Subtitle</h2>

CSS Variables

Title Variables

VariableDefaultDescription
--bulma-title-color--bulma-text-strongText color
--bulma-title-familyfalseFont family
--bulma-title-size--bulma-size-3Font size
--bulma-title-weight--bulma-weight-extraboldFont weight
--bulma-title-line-height1.125Line height
--bulma-title-strong-colorinheritStrong element color
--bulma-title-strong-weightinheritStrong element weight

Subtitle Variables

VariableDefaultDescription
--bulma-subtitle-color--bulma-textText color
--bulma-subtitle-familyfalseFont family
--bulma-subtitle-size--bulma-size-5Font size
--bulma-subtitle-weight--bulma-weight-normalFont weight
--bulma-subtitle-line-height1.25Line height
--bulma-subtitle-strong-color--bulma-text-strongStrong element color
--bulma-subtitle-strong-weight--bulma-weight-semiboldStrong element weight

Custom Styling

.custom-title {
  --bulma-title-color: hsl(348, 100%, 61%);
  --bulma-title-weight: 900;
}

.custom-subtitle {
  --bulma-subtitle-color: hsl(0, 0%, 48%);
  font-style: italic;
}
<h1 class="title custom-title">Custom Styled Title</h1>
<h2 class="subtitle custom-subtitle">Custom styled subtitle</h2>

Size Reference

ClassFont Size (default)
is-13rem (48px)
is-22.5rem (40px)
is-32rem (32px)
is-41.5rem (24px)
is-51.25rem (20px)
is-61rem (16px)
The title and subtitle automatically adjust their spacing when used together. No additional classes needed!
You can use title and subtitle classes on any heading element (h1-h6) or even paragraph tags. The class determines the styling, not the HTML tag.

Build docs developers (and LLMs) love