This blog post will talk about an idea of customization of the SharePoint breadcrumb for better navigation. The solution uses the out-of-box Delta Breadcrumb Dropdown component to provide the data required to render the breadcrumb using pure JavaScript for that.
Important notes:
This solutions works only for Classic Experiences;
I would recommend enabling only to internal pages branded using the System Master Page;
The JavaScript needs to be installed using a Custom Action or calling the JS file from the Master Page;
This solution may not be a good practice for SharePoint Online environments, if you are focused on working only with Modern experiences.
Enabling the Global breadcrumb based on SharePoint navigation
The first step will be enabling the DeltaBreadcrumbDropdown changing the Popout Menuproperty Visible from False to True.
HTML Master Page with the Detal Breadcrumb Dropdown enabled
After making the changes above, you must proceed to add the JavaScript to the pages. You can do it by creating a JavaScript file and calling it from your MasterPage or installing a new Site Custom Action. As a result the script executes every time the page loads.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If everything is set as expected you can see your internal pages showing the breadcrumb just like the images below for the Site Settings page and in a simple Document Library. At the same time, the script will highlight the current site in bold for better contextualization:
Before and after the Script in the Site Settings pageBefore and after the Script in a random Library page
In conclusion I must say the script is very simple because it uses a default SharePoint component to customize and improve the user experience. Also you can explore more custom solutions when you use the breadcrumb in Publishing Pages and combine it with a specific script to be executed in some specifics page layouts.
I hope this can help you on setting a SharePoint breadcrumb for better navigation experience for your users.
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Cookie settingsACCEPT
Privacy & Cookies Policy
Privacy Overview
This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities...
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
Any idea how to implement Title Breadcrumbs in SharePoint 2019?
Hey Lee!
I believe you are referring to the Modern experience in SharePoint. If that’s the case, my suggestion would be to use the out-of-box resources or create an Application Customizer and use the top bar of the page to store it.
https://docs.microsoft.com/en-us/sharepoint/dev/spfx/extensions/get-started/build-a-hello-world-extension#:~:text=SharePoint%20Framework%20(SPFx)%20Extensions%20are,and%20libraries%20to%20build%20them
https://docs.microsoft.com/en-us/sharepoint/dev/spfx/extensions/get-started/using-page-placeholder-with-extensions
Best,
Wiliam