October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run ScanOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk6 min

34 Bootstrap Hero Section & Jumbotron Examples 2026, Checked Against Bootstrap 5

Bootstrap 5 removed the jumbotron component. Here is how to rebuild the pattern with utility classes, add a background image, and check the licenses of 34 hero examples.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Bootstrap 5 no longer has a jumbotron component. The class was dropped in v5, and the official migration guide lists that removal as a breaking change, with the pattern rebuilt from utility classes instead. That matters for Colorlib’s roundup of 34 examples, because the collection mixes new hero sections, older Bootstrap 4 jumbotrons, and at least one example built for a different framework. Use the examples for layout ideas, then rebuild the markup against the current Bootstrap 5.3 documentation before you copy anything.

Does Bootstrap 5 still have a jumbotron?

No. Bootstrap’s migration guide for v5 identifies dropping the jumbotron as a breaking change and says the same visual pattern can be recreated with utilities. If a page you inherited uses a .jumbotron class, that class will not be styled by Bootstrap 5 and needs to be rebuilt.

As an Amazon Associate I earn from qualifying purchases.

The migration notes include a v5.3.6 section, so the guidance reflects that release line as of the version examined. Check the page again before you rely on it for a later release.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

What the 34 examples actually contain

Colorlib’s article, dated September 28, 2026, splits the collection into two groups. Twelve are new hero sections written for product-style pages. Twenty-two are classic jumbotron examples presented as visual references for full-screen image, video, gradient, and slider treatments. Most of the classic group is written for Bootstrap 4, and one uses Bulma. The table below sets these against Bootstrap’s own official examples, which are the current v5.3 baseline.

Source Count Described use or layout Framework version License or attribution
Colorlib new hero sections (Colorlib, September 28, 2026) 12 SaaS, agency, app, product, event, restaurant, and travel pages Not stated per example in the publisher’s summary Publisher says its hero downloads are free for personal and commercial use under CC BY 3.0 if the credit link is kept
Colorlib classic jumbotrons (Colorlib, September 28, 2026) 22 Full-screen image, video, gradient, and slider treatments Most are Bootstrap 4; one uses Bulma CodePen examples carry their individual authors’ licenses
Bootstrap v5.3 heroes 6 layouts Centered, screenshot, image-led, signup form, cropped image, and dark color Bootstrap 5.3 Not stated in the Bootstrap page reviewed
Bootstrap v5.3 jumbotrons 4 variants Basic, full-width, icon, and placeholder Bootstrap 5.3 Not stated in the Bootstrap page reviewed

The counts describe this publisher’s collection. They say nothing about how widely any of these patterns is used across the web.

Rebuilding a jumbotron in Bootstrap 5

In v5 the jumbotron is a plain container with utility classes for spacing, background, and corners. The steps below produce the basic version.

  1. Create an outer div and give it padding (p-5), a bottom margin (mb-4), a background (bg-body-tertiary), and rounded corners (rounded-3).
  2. Inside it, add a container-fluid with vertical padding (py-5) so the content sits inside the grid rather than edge to edge.
  3. Add the heading with display-5 for scale, the supporting text with fs-4, and a button with btn btn-primary btn-lg.
<div class="p-5 mb-4 bg-body-tertiary rounded-3">
  <div class="container-fluid py-5">
    <h1 class="display-5 fw-bold">Ship faster with less setup</h1>
    <p class="col-md-8 fs-4">One sentence that explains the offer.</p>
    <button class="btn btn-primary btn-lg" type="button">Get started</button>
  </div>
</div>

The result is a card-like block, not a full-bleed band. For a full-bleed look, use the pattern below.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Full-width pattern

Bootstrap’s official jumbotrons page demonstrates a full-width version. The outer element spans the whole viewport and carries the background. Inside it, a .container constrains the text. The outer element does not use a container class, which is what makes the background run edge to edge.

Adding a background image

Bootstrap has no background-image utility for this job, so use a small amount of CSS on the outer element. The overlay keeps white text readable on busy photos. Check the overlay opacity at phone widths, where the text often sits on a different part of the image.

.hero-photo {
  position: relative;
  background: url("images/hero.jpg") center / cover no-repeat;
  color: #fff;
}
.hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}
.hero-photo .container {
  position: relative;
}

Put the photo on the outer element and the text inside a .container with .hero-photo applied. Do not use an img tag for a decorative background, because it will not crop the way background-size: cover does.

Choosing a composition for your page

Colorlib’s examples differ on several axes. Compare them on these points before you pick one:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  • Layout: centered, left-aligned, or split (text on one side, visual on the other).
  • Visual: text only, inline image, photo background, CSS-built mockup, or video.
  • Mobile behavior: how columns stack, how the image is cropped, and whether the call to action stays visible above the fold.
  • Motion: whether animation is present and whether it stops for users who request reduced motion.
  • Dependencies: framework version, extra scripts, and asset weight.
  • License: the terms that apply to each individual asset.

Bootstrap’s own hero examples are a useful baseline for the first three. Its heroes page shows centered, screenshot, image-led, signup-form, cropped-image, and dark-color versions, all written for Bootstrap 5.3.

Narrow screens need their own arrangement

A split desktop hero does not become a good phone layout just by shrinking. Design the narrow arrangement on purpose. Bootstrap’s grid is mobile-first flexbox with a twelve-column system. The grid documentation describes it as “a powerful mobile-first flexbox grid to build layouts of all shapes and sizes thanks to a twelve column system, six default responsive tiers, Sass variables and mixins, and dozens of predefined classes.” The default breakpoints are:

Tier Minimum width Class infix
xs Below 576px None (base classes)
sm 576px sm
md 768px md
lg 992px lg
xl 1200px xl
xxl 1400px xxl

These are the defaults in Bootstrap 5.3. Sass users can change them. Source: Bootstrap Breakpoints documentation.

Colorlib’s new heroes show several mobile-specific changes worth copying:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  • App-store buttons become full width on small screens. In Bootstrap, add w-100 to the button and keep it inside a column that stacks below your chosen breakpoint.
  • Split layouts drop to a single phone mockup instead of two. Remove the second image at narrow widths rather than scaling both.
  • Navigation links move under the logo rather than sitting beside it.

Images need the same care. For a plain inline image, .img-fluid sets max-width: 100% and height: auto. When you use a <picture> element to serve different files, Bootstrap’s Images guidance says to place the .img-* classes on the nested <img>, not on the <picture> wrapper.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Motion, contrast, and media weight

Photo and motion-led heroes carry more risk than text-only ones. Check these before you ship:

  • Text contrast at phone sizes. Test the headline and button over the lightest and darkest parts of the image at the narrowest width you support. Colorlib recommends readable overlays for this reason.
  • Reduced motion. Wrap any animation in a media query so it stops for users who request reduced motion:
@media (prefers-reduced-motion: reduce) {
  .hero-animated * {
    animation: none !important;
    transition: none !important;
  }
}
  • Media weight. A large hero photo or video is often the heaviest asset on the page. Compress it, serve smaller crops to narrow screens, and avoid autoplay video on mobile unless the page truly needs it. The examples reviewed do not include independent performance measurements, so measure your own page.

Licenses and version checks before you copy

Treat each source separately:

  • Colorlib hero downloads. Colorlib states that its 12 hero downloads are free for personal and commercial use under CC BY 3.0 if the credit link is kept. Confirm the current terms on the publisher’s article before reuse, because the terms can change.
  • CodePen examples. These carry their individual authors’ licenses. Read each pen’s license before copying code or assets.
  • Bootstrap official examples. Use these as the current v5.3 reference for markup and class names.
  • Version. Do not assume a Colorlib example is Bootstrap 5. Look for .jumbotron, .media, or Bootstrap 4 utility names, and for any Bulma classes, and rebuild those parts with the Bootstrap 5.3 approach shown above.

The examples are visual references. They have not been independently tested for accessibility or load speed, so treat each one as a starting point rather than a verified component.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Leave a Reply

Your email address will not be published. Required fields are marked *

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Windows Errors? Fix Them Before They SpreadFree repair scan
Outdated Drivers Are Slowing You DownFree scan - exact matches

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.