2022 Developer Survey is open! Take survey.

Questions tagged [master-page]

The master page is a feature that enables you to define common structure and interface markup elements for your Web site, including headers, footers, style definitions, or navigation bars. The master page can be shared by any of the pages in your Web site, called the Content Page, and removes need to duplicate code for shared elements.

Filter by
Sorted by
Tagged with
0 votes
0 answers
60 views

Creating a brand new SharePoint page using PowerShell "Add-PnPFile" command

I can create a file called TestAspx.aspx in Notepad with the following content: <html> <body> This is <b>Awesome!</b> </body> </html> I can then upload it ...
user avatar
0 votes
1 answer
97 views

How world I remove Sync Icon from All Sites a one time or when new site is created leave out sync icon

Trying to remove or hide the sync icon from all sites on our SharePoint online 365 I can only find remove sync icon for site or only libraries area. We don't what to have the sync icon for any site ...
user avatar
0 votes
1 answer
191 views

Hiding Office 365 Ribbon in SharePoint

Is it possible to create Master page in Office 365 SharePoint? If yes, how to do that? I need to hide the office 365 ribbon (blue color) and remove below menu like New, Send To, Promote, Page Details ...
user avatar
0 votes
0 answers
17 views

My settings welcomemenubox not working

I found the following question MenuItemTemplate "My Settings" not working on chrome which exactly explains my problem. When I copy the code of the answer in my console it fixes the issue, ...
user avatar
  • 1
0 votes
1 answer
29 views

how to create a custom master page without top ribbon bar?

I am using SP 2013 and have a publish site collection. I want to create a custom master page but no top ribbon bar. I followed below documentation but it still has top bar. https://docs.microsoft.com/...
user avatar
1 vote
0 answers
10 views

Master page code and Page source code differ

Good day. I was wondering why the master page code I have added to a header will show correctly, but when looking at the web page source, it is commented out. SharePoint Master page view: Web Source ...
user avatar
  • 11
0 votes
0 answers
31 views

SharePoint Page URL

I have created an SPFx web part and added it to an page (eg. "abc.aspx") in SharePoint. Then I made this page as an welcome page for my SharePoint site. Now the URL of the welcome page is: ...
user avatar
  • 39
0 votes
1 answer
16 views

Can we convert SP2016 master page / page layout to modern communication site style?

We are using SP2016 on-premise. Our plan is to upgrade to SharePoint online by next year. At the moment we want to convert out existing sites & home pages to modern communication site style. Just ...
user avatar
  • 4,016
0 votes
1 answer
39 views

SharePoint Subsite won't allow Inheritance of site master page from parent of this site

One issue I am trying to solve on my SharePoint site has to do with the Master Page itself, especially on the main site (domain.sharepoint.com). The master page contains headers (some single, some are ...
user avatar
  • 131
0 votes
1 answer
131 views

How to add an overridable meta tag to a SharePoint 2013 html masterpage?

In SP2013, I have a master page (.html/.master) file that I want specific pages that use this master page to have the ability for devs to override a specific meta tag. Specifically this one <meta ...
user avatar
  • 2,140
0 votes
1 answer
44 views

How do you use ASP Repeaters in a HTML Master Page (via Design Manager) Eval Issues

I'm trying to create a master page on SharePoint 2019 using the Design Manager (and so, using the automatic HTML -> MASTER conversion). I am trying to use an asp:Repeater tag to loop over a ...
user avatar
0 votes
1 answer
76 views

Microsoft Clarity on SharePoint 2016 On-Premises

Has anyone implemented Microsoft Clarity Analytics on SharePoint 2016 On-premises? I have tried adding the Microsoft provided code by adding it into the section of Master Page (Seattle), but the ...
user avatar
1 vote
1 answer
55 views

Html code to Hide Ribbon based on user permission in SharePoint 2016

I am trying to hide SharePoint ribbon in master page based on permissions. I am using Seattle master page. After going through many blogs, I tried as below Wrap ms-designer-ribbon div tag between ...
user avatar
1 vote
0 answers
21 views

One Master Page deployed across all Site Collections SP2016

My client has ~180 site collections in their SP2010 farm and are upgrading to SharePoint 2016. They want a solution where they build a single Master Page (based on Seattle) and then deploy it (and ...
user avatar
  • 1,051
3 votes
1 answer
298 views

Activate SharePoint Server Publishing Infrastructure on Communication Site

I am working with SharePoint Online. It turns out the Communication Site has just the template I am looking for, with no left-side navigation and search box in the top right corner. However, It does ...
user avatar
0 votes
2 answers
152 views

SharePoint 2013 - Replace Master Page Header Color with Image

I would like to replace the Master Page header background color with a banner/image. Can this be done? Do I make the change on the master page or in css?
user avatar
  • 435
0 votes
4 answers
204 views

SharePoint 2010 Upgrade to SharePoint 2013 - Look and Feel did not Upgrade

I upgraded SharePoint 2010 to SharePoint 2013 but the look and feel did not upgrade and the site in SharePoint 2013 doesn't look anything like it does in SharePoint 2010. Is there a way to export the ...
user avatar
  • 435
0 votes
1 answer
38 views

SharePoint Master page and html equivalent

I just joined a team using SP 2016 and I notice that for the current master page, it has an equivalent html page that is a duplicate of the .master file. Both are in sync with each other and reflect ...
user avatar
  • 211
0 votes
1 answer
28 views

SharePoint online master page customization

I created a master page by creating a copy of oslo.master in by using SharePoint designer. This is now available in catalogs/masterpage but when I try to apply it to my site using the master page ...
user avatar
1 vote
2 answers
29 views

Get Master page data-Jquery reference

I want to find out is there any jquery reference in SharePoint master page/page layouts. Can it be possible to read .master data
user avatar
0 votes
1 answer
81 views

Display Web Front End IP address in SharePoint 2016 Masterpage

is there a way to display the IP address of the web front end on a site's masterpage? I have a table at the bottom of my masterpage where I'd like to store the code. I'm running load-balancing and ...
user avatar
  • 43
0 votes
1 answer
18 views

PageLayout and Master Page

How can I make a Page Layout to use participial Master-page. What is happening is in my SharePoint page I am using green colour Image please see below, however if I change the Page-Layout to something ...
user avatar
  • 507
0 votes
1 answer
37 views

increase the size of text on Upload.aspx

Is there a possibility i can ammend some CSS or something to increase the text size on Upload.aspx? I guess not but it would be very nice if i could. Any advice would be great, we are using ...
user avatar
0 votes
0 answers
44 views

New Master Page - Changes Not Reflected as Site Master Page

I'm facing a perplexing issue with making my changes from a master page reflect on the front-end. Strangely, if I enable my new master page on System Master Page it works, however when I enable it ...
user avatar
  • 101
0 votes
2 answers
40 views

Set single page in subsite to different master page in master site

I have created a new Site Master page in my site. I want to assign the master page to just one single sub-site page. I've attempted to change the "MasterPageFile" but was unsuccessful (I know this is ...
user avatar
  • 67
0 votes
4 answers
1k views

Modern Pages - Customizing layout

How could I customize the layout of SharePoint Modern site? Could I download master page for modern site and customizing this by for example a copy?
user avatar
  • 1,709
0 votes
1 answer
118 views

Cannot form a correct IconUrl in Html master page

We are using SharePoin 2016 on-premise. I have uploaded our custom favicon to site assets at Url: https://sharepoint.com/sites/abc/SiteAssets/images/Logo48x48.png In my HTML master page I added this ...
user avatar
  • 4,016
1 vote
2 answers
233 views

How to apply SPSecurityTrimmedControl on HTML Master page?

On a SP2016 on-premise farm, I am editing a HTML Master page. I want to hide the gear icon from everyone beside the site admin. In my previous experience in older version, I can modify the Master page,...
user avatar
  • 4,016
1 vote
1 answer
622 views

Make sub-links in the left ribbon

I am trying to organize my left ribbon so that the links for the web parts are indented after the page containing them. In this picture I want that "Listes des réunions" is indented under "Réunions", ...
user avatar
0 votes
1 answer
111 views

Modify SuiteBar Color for SharePoint Communication Site

I'm managing a newsletter for my department and I'm trying to modify the suitebar color for our SharePoint Online Communications site because the default blue clashes with the theme of the site (red): ...
user avatar
  • 101
0 votes
1 answer
61 views

Top Navigation Bar Single Line List Item

I've looked at other posts on this and I did everything I could to display my two lines multiple words into a single line. "Financial and Budget Management" and "SharePoint Development and ...
user avatar
0 votes
1 answer
272 views

SharePoint Online page layout - news webpart

my client wants to create 3 different news page layout, so when a user wants to create a page he can choose between those 3 layouts I want to create a new page layout for the NEWS PAGES, This is ...
user avatar
0 votes
1 answer
38 views

How to Reference Stylesheet in Custom Masterpage HTML

I have created a custom masterpage HTML page as well as several custom stylesheets for a site in SharePoint online. I have attempted to reference my stylesheets in the HTML page but my styles are not ...
user avatar
  • 143
1 vote
0 answers
15 views

Using a Web Form to Create a Sharepoint Page

My Sharepoint site is made up of many Page. Each page is essentially a demo page example: Picking Food off conveyor, Stacking into a Box. I want many people in my organization to be able to contribute ...
user avatar
0 votes
1 answer
184 views

SharePoint Online, change Logo for one page (not for web. on Page Layout or Masterpage, or with js..)

I have web with site logo (top left corner), but need to have one Page with different logo (on same web). This task looked simple but for me it isn't( I have custom master page, page layout (I ...
user avatar
  • 1,581
0 votes
2 answers
53 views

SharePoint Master Page Seattle not loading internal JS files

My site master page is Seattle. It is not showing ribbon, list views and many other links are not working. It is not loading the scripts. When I go directly it loads the link. (like if I load the ...
user avatar
0 votes
1 answer
68 views

I added a custom .css to my master page, now 2016 on-prem site flickers

I made a copy of Seattle.html and created my own master page. Next, I added a link to the .css in my style library and then applied the master page to the site. After doing that, my 2016 on-prem ...
user avatar
  • 129
2 votes
1 answer
61 views

How to trim the URL in a Master Page in SharePoint 2016

I'm trying to figure out how to get a portion of the url in a Master Page in SharePoint 2016 on-prem. For example, I have several site collections that look like this: http://mainsite.domain.com/...
user avatar
  • 129
0 votes
1 answer
55 views

Is it possible to reference the same .css in various master pages across site collections

I have about 10 site collections on SharePoint 2016 on-prem that I want to brand with our custom .css. I have the .css working great in one of the site collections, but I'm curious about how to apply ...
user avatar
  • 129
1 vote
1 answer
679 views

Add sharepoint menu ellipsis to end of Document Library using javascript

I have a document library in SharePoint 2013 with a number of different views and I want to add the menu ellipsis (...) at the end of each view by using javascript in the masterpage. I know how to do ...
user avatar
  • 23
0 votes
1 answer
943 views

Migrating pages having custom layout to Office 365

We are migrating SharePoint 2013 to SPO. we are getting error while migrating the pages having custom page layout using Sharegate. With Sharegate layout mapping data is getting lost. So is there any ...
user avatar
1 vote
0 answers
34 views

How to add banner and how to get master page in sharepoint of office365?

I am trying to get the default master page in Office 365 SharePoint site. Where I can find the master page in office 365? Also, I need to add the second image as an banner on SharePoint. How can I ...
user avatar
1 vote
3 answers
905 views

Redirect SharePoint sub-sites from Old to new URL

We are migrating from SP 2013 to SP 2016. There are multiple sub-sites under the main site and further sub-sites under those sub-sites. The users may have bookmarked specific libraries and lists from ...
user avatar
  • 221
0 votes
1 answer
165 views

SharePoint Online, Classic Mode - Create empty page for custom form?

I have custom html code with form, and want to use JSOM to create new item. I want to have completely blank page, but with SharePoint context. How do You usually do it? As I understand I can create ...
user avatar
  • 1,581
1 vote
0 answers
54 views

Add custom webpart (app) to masterpage [O365, SPO]

I want to create webpart that will render content of selected termset, and I need to put this webpart on masterpage, instead of default navigation. I found some solutions (like this and that), but ...
user avatar
2 votes
2 answers
1k views

Bootstrap 4.1 on SharePoint 2016 breaks custom fonts

As mentioned in the title, I'm currently facing the problem that something with/in Bootstrap might break the usual way of using custom fonts. I add <meta charset="utf-8"> <meta name="viewport"...
user avatar
  • 155
1 vote
1 answer
3k views

Sharepoint Master Page & Layout Design

is there a way to make the Sharepoint looks like the picture below (without html coding)? As what I know, most of the Sharepoint with amazing design is powered by paid software such as Shortpoint. I ...
user avatar
1 vote
1 answer
163 views

Align Items Inside Top Navigation

Sorry the (what I believe is) very basic question. I am in doing (trying to do) some branding in our company's intranet site, which uses SPS2013. The site is a publishing site. I posted the two ...
user avatar
1 vote
0 answers
31 views

How to change color scheme of an intranet template running SharePoint 2007

We're in the process of phasing out SP2007 to a new solution however since this will take 6 months+ our CEO wants to freshen up the look/feel of the current SP2007 intranet page. I have uploaded an ...
user avatar
1 vote
0 answers
153 views

SharePoint 2016 javascript reference 403 forbidden

This past March we installed a SharePoint 2016 instance on our 2012 server and have been using it without issue for 7 months now. Last week I came into work to find the list views functionally stopped ...
user avatar
  • 21

1
2 3 4 5
19