Skip to main content

Posts

Showing posts with the label Team

SharePoint Online: Disable Top Navigation on a Teams Connected Site Using PnP PowerShell

If you've tried to disable the top navigation bar on a modern Teams-connected SharePoint site, you've probably noticed there's no obvious setting to do it. The UI doesn't give you a toggle. Site settings don't have the option. And the PowerShell properties you'd expect to work simply don't. This post covers exactly that scenario - what I tried, why each approach failed, and the single PnP PowerShell command that actually works. The Problem On a modern Teams-connected SharePoint site (template GROUP#0 ), the top navigation bar is visible by default. Unlike classic SharePoint publishing sites, there is no built-in UI option in site settings or site collection settings to disable it. If you want to hide the top navigation bar - for example because the site is associated to a hub that already provides navigation, making the site's own top nav redundant - you need to do it programmatically. What Didn't Work for Me 1. Site Settings and...

Align content center - Microsoft 365 Team Sites

With modern pages in a Sharepoint Online collaboration site, content would be aligned center with white space on either sides but with Team sites the content is left aligned by default and plenty of white space on the right. However there is an easy fix to center align content in a Team site: 1. Navigate to the Settings from top right of the page by clicking the cog/gear wheel icon. 2. Select "Change the look" 3. Select Navigation from the options. 4. Select Horizontal as the option 5. Now the contents on all the pages will be aligned center. Note: This setting is site wide and not just for a page.