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 desk3 min

Bootstrap Breadcrumbs: A Practical Guide to Markup and Customization

Learn the Bootstrap 5.3 breadcrumb pattern, how to mark the current page accessibly, and how to customize or remove the divider with CSS or Sass.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Bootstrap breadcrumbs show where a page sits in a site hierarchy. In Bootstrap 5.3, the basic pattern is a labeled <nav> containing an ordered list, with ancestor pages linked and the current page marked with aria-current="page". You can change the separator with a local CSS custom property or set a build-time default with Sass.

Bootstrap breadcrumb example

Bootstrap describes the component as a way to “Indicate the current page’s location within a navigational hierarchy that automatically adds separators via CSS.” The standard pattern uses a navigation landmark, an ordered list with .breadcrumb, and a .breadcrumb-item for each entry. Ancestors link to their pages; the final item represents the current page.

As an Amazon Associate I earn from qualifying purchases.

<nav aria-label="breadcrumb">
  <ol class="breadcrumb">
    <li class="breadcrumb-item"><a href="/">Home</a></li>
    <li class="breadcrumb-item"><a href="/library/">Library</a></li>
    <li class="breadcrumb-item active" aria-current="page">Data</li>
  </ol>
</nav>

Replace the sample paths and labels with the real hierarchy for your site. This follows the structure documented in the Bootstrap 5.3 breadcrumb documentation.

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.

Make the breadcrumb accessible

Give the navigation landmark a meaningful accessible name, such as aria-label="breadcrumb". Mark the current page with aria-current="page"; the active class supplies Bootstrap’s visual state, while the ARIA attribute identifies the current location to assistive technology. Bootstrap points to the WAI-ARIA Authoring Practices breadcrumb pattern for additional guidance.

How to change the Bootstrap breadcrumb divider

Bootstrap generates separators with CSS. In v5.3, set the --bs-breadcrumb-divider custom property on the breadcrumb instance to change its divider without recompiling Sass. For example, to use a greater-than sign:

<nav aria-label="breadcrumb" style="--bs-breadcrumb-divider: '>';">
  <ol class="breadcrumb">
    <li class="breadcrumb-item"><a href="/">Home</a></li>
    <li class="breadcrumb-item active" aria-current="page">Library</li>
  </ol>
</nav>

This is useful for a one-off instance or a page-level variation. Bootstrap also documents an embedded SVG divider and an option to remove the divider; choose a form that fits your design rather than assuming one is universally preferable. See the component documentation for those examples.

Rank #2

Choose a local CSS override or Sass configuration

Approach Use it when Setting
CSS custom property You want to change a rendered breadcrumb instance without rebuilding Bootstrap’s Sass. --bs-breadcrumb-divider
Sass variable You want a build-time divider default in a Sass customization. $breadcrumb-divider; account for Sass string quoting.

Bootstrap documents local breadcrumb CSS variables as available since v5.2.0. The Bootstrap v5 migration notes also record that breadcrumb defaults were simplified by removing padding, background color, and border radius, and that the divider custom property was added for easier customization.

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

Check your Bootstrap version before adapting older code

This guide follows Bootstrap v5.3 documentation; it does not establish a separate 2026 Bootstrap release. Older versions may differ in markup or default styling, so identify the version used by the site and consult that version’s documentation before copying a pattern or CSS override.

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

Breadcrumbs and steppers are different patterns

Bootstrap’s examples include custom icons and stepper-style components. A hierarchical breadcrumb tells readers where the current page sits within a site. A stepper instead presents progress through a sequence of tasks or stages. A visual treatment can borrow ideas from either, but use the pattern that reflects the interface’s actual purpose. See the Bootstrap 5.3 examples.

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.

Leave a Reply

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

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
Outdated Drivers Are Slowing You DownFree scan - exact matches
Windows Errors? Fix Them Before They SpreadFree repair scan

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.