SharePoint / SharePoint/sp-dev-docs

Brand center fonts not applying to navigation elements on associated hub sites

Open
#10,936 3 comments 0 reactions 1 assignee View on GitHub

@Ashlesha-MSFT is already working on this.

Since Jul 8, 2026.

sharepoint-developer-support type:bug-suspected
Dominant language
PowerShell
Stars
1.4k
Forks
1.1k
Avg merge
4d 12h
Merged PRs (30d)
12

Description

Target SharePoint environment

SharePoint Online

What SharePoint development model, framework, SDK or API is this about?

💥 SharePoint Framework

Developer environment

Windows

What browser(s) / client(s) have you tested
  • 💥 Internet Explorer
  • 💥 Microsoft Edge
  • 💥 Google Chrome
  • 💥 FireFox
  • 💥 Safari
  • mobile (iOS/iPadOS)
  • mobile (Android)
  • not applicable
  • other (enter in the "Additional environment details" area below)
Additional environment details

No response

Describe the bug / error

Hub site: brand center fonts apply to all elements on a hub site including hub and site navigation.
Associated sites: brand center font inheritance doesn't flow to navigation, being overriden by

Steps to reproduce
  1. Apply a font package to a hub site via Brand Center and check it's applying fonts to hub and main site navigation
  2. View another site associated with the hub - inline css will
  3. On associated sites .siteNavLink-155 #SiteHorizontalNav { font-family: var(--fontFamilyBase); } overrides .ms-HorizontalNavItem-linkText { font-family: var(--fontFamilyCustomFont500, var(--fontFamilyBase)); } }
Image
Expected behavior

Brand Center fonts to apply to navigation on both main hub and associated sites

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.