Skip to content

Styling

Breadcrumbs adds stable CSS classes to the links it renders, so you can restyle its views with an Obsidian CSS snippet (Settings → Appearance → CSS snippets). No setting is required — the classes are always present.

Every link Breadcrumbs renders for the currently-active note gets the BC-active-note class. This applies wherever the note appears — the Trail, Tree, and Matrix views, page views, and breadcrumbs codeblock trees — so you can make “you are here” stand out:

.BC-active-note {
font-weight: bold;
color: var(--text-accent);
}

Each Breadcrumbs link carries these classes:

ClassApplied to
internal-linkEvery Breadcrumbs link (matches Obsidian’s own internal links).
is-unresolvedLinks whose target note does not exist yet.
BC-active-noteThe link pointing at the currently-active note.

Links rendered as edges (in the views and codeblocks) carry additional classes describing the edge:

ClassApplied to
BC-edgeEvery edge link.
BC-edge-explicitEdges built from explicit sources (frontmatter, lists, etc.).
BC-edge-impliedEdges derived by implied-relation rules.
BC-edge-implied-<source>Implied edges, tagged with the source rule (e.g. BC-edge-implied-transitive).

For example, to dim implied edges so explicit ones read as primary:

.BC-edge-implied {
opacity: 0.7;
}