How to Lock Headers, Footers, and Web Parts in SharePoint
Question details
The user wants to know if SharePoint site templates can lock specific layout elements like headers, footers, and web parts to prevent users with Edit permissions from modifying them.

- Product
- Microsoft SharePoint
- Device & OS
- not provided
- Scenario
- Enforcing site branding and layout consistency across SharePoint sites.
- Observed behavior
- By default, users with Edit permissions can modify headers, footers, and web parts even after a site is created using a template.
Review your current SharePoint permission levels. Ensure you have Site Owner or SharePoint Administrator rights before attempting to modify site structures or permissions.
Restrict Edit Permissions for Standard Users
Since default templates cannot lock web parts, the most effective native method is adjusting user permission levels from 'Edit' to 'Contribute' or 'Read'.
SharePoint site templates do not natively lock elements for users with Edit permissions. To protect headers, footers, and web parts, you must reduce permissions for users who only need to add content without modifying the site layout.
Navigate to your SharePoint site, click the Settings gear icon in the top right corner, and select 'Site permissions'.
Click 'Advanced permissions settings'. Select the relevant SharePoint group (e.g., Site Members) and prepare to edit their permission level.
Change their permission from 'Edit' to 'Contribute' (allows adding/editing list items and documents but not site pages or web parts) or 'Read' (view-only).

Implement Hub Sites for Consistent Global Branding
Use Hub Sites to enforce a shared navigation header and logo across multiple associated sites.
Develop Custom Solutions Using SharePoint Framework (SPFx)
For scenarios requiring strict lockdown of specific web parts while retaining Edit permissions, custom development is necessary.
Boost Team Productivity with WPS Office
While managing SharePoint permissions and site templates can be complex, document collaboration doesn't have to be. WPS Office offers a free, lightweight, and highly compatible alternative to Microsoft Office, perfect for teams looking to create, edit, and share documents seamlessly without complicated permission structures.

Frequently Asked Questions
Do SharePoint hub sites automatically inherit permissions?
No, associated sites do not inherit hub permissions by default. Permissions must be assigned and managed separately for each connected site.
Can I lock specific web parts on a modern SharePoint page?
There is no standard out-of-the-box feature to lock individual web parts on a page. If a user has 'Edit' permissions for the page, they can modify or delete any web part on it unless a custom development solution is implemented.
What is the difference between 'Edit' and 'Contribute' permissions in SharePoint?
The 'Edit' permission allows users to add, edit, and delete lists, documents, and site pages. The 'Contribute' permission allows users to add, edit, and delete items in existing lists and document libraries, but they cannot modify site pages, headers, or web parts.
Will a site template prevent users from changing the header and footer?
No. Once a site is created from a template, users with sufficient permissions (like Edit or Full Control) can freely modify the header, footer, and other layout elements.




