New answers tagged

0

Custom master pages is not supported in modern pages currently. Quote from the article: Supported customizations for "modern" pages: Custom branding Adding "modern" pages programmatically Adding, deleting, and updating client-side web parts on "modern" pages Alternative layouts These customizations are currently not supported for "...


0

You have the feature for page templates from April 2019. Here you have the Microsoft article talking about it.


1

No, SharePoint Modern site does not have concept of master page. Hence you won't able to directly customize as we used to do in classic experience. You can customize modern site using below options Create Application customizer to add header and footer on page. You can create modern custom pages and select layout like one column, 2 column etc... You might ...


0

First try adding Full/Absolute URL of icon as below: <SharePoint:SPShortcutIcon runat="server" IconUrl="https://sharepoint.com/sites/abc/SiteAssets/images/Logo48x48.png" /> If it is working then try adding relative URL like this (If icon is stored on top level site: https://sharepoint.com): <SharePoint:SPShortcutIcon runat="server" IconUrl="/...


1

I am afraid, top suite bar cannot be controlled from master page. It is being rendered directly from content database. If you want to hide settings gear icon for non- SharePoint admins users you have to do it via custom javascript code. You need to add javascript code on document.ready What we would do is use default page context info attribute ...


1

You'd need to create copy of the seattle.master and modify and use that as master page. SharePoint doesn't allow modifying the seattle.master as it generates it from the seattle.html.


0

There is a tricky solution: You can add a webpart to a page normally, in a webpart zone. In this webpart you can specify the css style to display or hide any element you want. Finally set target audience to this webpart and everything will work as expected.


Top 50 recent answers are included