Forum Discussion
Hiding redundant top nav in SPO
Hi everyone, 3 part question...
A.) Can I hide this redundant "top nav" in SPO? Here, I have a house icon which just navigates to our comm site home page, yet the tree icon you see below it does the same thing. How can I hide this top nav bar here (marked with red arrow)?
B.) How can I mimic this same nav bar across the other sites I have using this hub site?
C.) (per green screenshot marking in the same above screenshot) Can I also hide this left side nav bar? I see you can do this via PowerShell until October, but would like it gone permanently from our intranet home/hub site if possible...
Thank you in advance,
Morghan
6 Replies
- The Add link at the very top is because this site is a Hub and that is the Hub Site Navigation. This will only appear for Site Owners.
To make the navigation appear across all sites - you should use the Hub Navigation and if you don't want the Site navigation (Department Sites...) then remove those menu items.- Bob1234566Copper Contributor
When logged in as a non-owner user you are correct, the link does not appear. But the navigation bar is still there as an empty bar across the whole screen, so this is not useful.
Navigation in SharePoint Online is an unmitigated mess. For a site associated with a hub, there is no way to customize the hub navigation to meet the needs of the child site, so necessity forces you to keep the site menu, and there is no way to remove the hub menu. So you end up with two navigation bars and there's nothing you can do about it.
- mdcastorenaBrass Contributor
Hi SteveKnutson - Thank you for your reply. I've made those changes except now how do I get rid of this logo/section here?
- The top logo is the Hub Logo and the one you have highlighted is the Site Logo.
There isn't an out of the box way to hide the Site Logo, but you could make it a white image e.g. 1px by 1px white.
The alternative approach is to use CSS but this requires custom SPFx code to load it on every page. https://www.sharepointdiary.com/2020/09/sharepoint-online-inject-custom-css-to-modern-sites.html