Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

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.

226 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
3k views

Content controls have to be top-level controls in a content page or a nested master page that references a master page

I build an MVC application and I run it by linking a content editor webpart to the index.html file. That usually works fine but I'd like to build it into an aspx page and link to that page directly. ...
3
votes
0answers
40 views

Clicking on 'More' under 'People and groups' through Server Error

I have created a custom master page and set it as system master page.when clicking on 'More' under 'People and groups'. I have referred this link. all the tags are included in the custom master page. ...
3
votes
1answer
256 views

Register Javascript On Master Page in SharePoint Online Add Ins

When SharePoint Add in installed I want to add javascript on site master page in which app was installed pro grammatically in Office 365 SharePoint Online. How to do that dynamically?
3
votes
0answers
24 views

Moving navigation items from one site collection to another site collection

I have created the vertical navigation items by adding heading and link using structural navigation: Editing and Sorting (in Site Settings -> navigation). I have created the design package of the site ...
3
votes
2answers
86 views

“eval is evil()” - But can it be a way around some of the limitations of Minimal Download Strategy?

The process of getting custom JavaScript to work with Minimal Download Strategy is quite cumbersome and especially in the prototyping phase I like to write my (smaller) scripts inline in a Content or ...
3
votes
1answer
416 views

Create a completely blank page only for adding Script Editor Web Part, around 30 of them

I want to create a blank page which I can edit and add Script Editor Web Parts according to the requirement. Tried creating a custom master page for a custom page layout but something didn't work ...
3
votes
1answer
1k views

Stop Editing vs Save and Close

When in EDIT PAGE mode in SP2013, how do I get the full complement of "Save & Close", "Save and Keep Editing", and "Stop Editing" to show up in my "Save and Close" drop down off the toolbar? ...
3
votes
1answer
2k views

How to add the Google Tag Manager to the body in a SharePoint Master page?

According to the docs, the GTM should be added "immediately after the opening tag." However, any code that is placed there in the master (well, really the htm version of the master) will be put in ...
2
votes
0answers
171 views

Alternate CSS in SharePoint online not loading in “Site Contents” and custom pages

I have uploaded alternative CSS in SharePoint online site for HIDING navigation bar and title bar in master page, without touching/editing master page. Correctly working in "Site Settings.aspx" page ...
2
votes
0answers
78 views

Add a label to the Sharepoint 2013 Search control without using JavaScript/jQuery in a master page

I currently have a SharePoint 2013 farm that uses a custom master page. Within the master page, we are attempting include a label preceding the search box control without the use of JavaScript/jQuery. ...
2
votes
1answer
778 views

Master Page Upgrading SharePoint 2013 to 2016

I have done plenty of research and cannot find a clear answer. Of course you can expect some issues when performing SharePoint migrations but I cannot find a direct answer on the issues that may ...
2
votes
0answers
214 views

Audit: Who changed the master page?

How can I know who changed the master page for the site, do the audit logs cater such information? If yes, how should I generate report to see this information?
2
votes
0answers
235 views

Is it possible to convert .master back to .html file?

Is it possible to convert a .master page back to .html? We want to use it for the preview in a page layout. E.g.: <mso:HtmlDesignFromMaster msdt:dt="string">https://my-intranet-website/sites/...
2
votes
1answer
485 views

Managed Navigation: only show global navigation and not current navigation

Pretty much in the title; I have a set where the some terms have the options Show in Global Navigation Menu Show in Current Navigation Menu checked and others, for multiple reasons, only have the ...
2
votes
0answers
985 views

Load javascript file on wopiframe.aspx in SharePoint Online

Is there a different way to load external javascript files on the WopiFrame.aspx / Word Online / Excel Online page? We are using SharePoint Online. I have some external javascript files load with our ...
2
votes
0answers
241 views

How to add sublevel in quick launch

I'd like adding a sub level in my quick launch. I modified my master page <SharePoint:AspMenu id="V4QuickLaunchMenu" runat="server" EnableViewState="false" DataSourceId="QuickLaunchSiteMap" ...
2
votes
1answer
62 views

Can you “Change the Look” after changing the master page?

I am trying to upload a new color palette for our top branding bar, went to Change the Look under site settings, selected my style & colors. I click Try it out and this comes up. I've altered the ...
2
votes
0answers
145 views

Remove extra blank line added by SP2013 in the top of the masterpage?

I'm working on the seattle.html masterpage for Sharepoint 2013. I want to use the HTML5 Doctype, so I changed the doctype to <!DOCTYPE html>. Before the doctype, the page is full of the below ...
2
votes
0answers
167 views

SP2013 Cannot see my Master page under Design Manager

I created a Master page (new.master) using notepad and uploaded to "_catalogs/masterpage" of site collection root. After some approve and publish process I am able to change the site Master to the new....
2
votes
1answer
1k views

The referenced file is not allowed on this page O365 Sharepoint

I was trying to add script links to the seattle.master page in SharePoint 2013 from a network drive. After I opened it (Before I added anything) I had to quit for the day. Now I keep getting this ...
2
votes
0answers
644 views

To Scroll to the top of page

I'm using angularjs & sharepoint 2013. I have implemented the SPA model in one page where the entire page refresh may not happen. Here, the scroll bar is not always going to the top of page since, ...
2
votes
1answer
523 views

Issues with SharePoint Security Trimmer control

I notice that using the security trimming control (say for RibbonBox) only hides the content, I want something like display:none, can we achieve this?: CASE 1: <Sharepoint:...
2
votes
1answer
582 views

Selected Menu Item - Oslo MasterPage

I'm using SharePoint 2013, with the Oslo masterpage, and I've disabled the default navigations and create my own menu in the master page. The issue is that the menu doesn't show what page you are on. ...
2
votes
1answer
5k views

SharePoint 2013 - How to add basic header to a Oslo masterpage?

I'd like to add a header to the Oslo masterpage, but I can't figure out how. Does anyone know? Thank you very much. This is what I use for the footer of the page. Update: <SharePoint:AjaxDelta ...
2
votes
0answers
1k views

Display user information in SharePoint 2010

I followed the instruction here to display the user First and Last name on my page. I started the User Profile Application services to solve the issue "Cannot get user profile". It works fine without ...
2
votes
1answer
132 views

SharePoint root site master page

I have a root site and other site collections in same web application port If I edit the root site master page, Will it affect other site collections in this port? Regards, Abraham
2
votes
1answer
1k views

SharePoint 2013 Ribbon Change Functioning of the Scrollbar

I have noticed on SharePoint 2013 that the scroll with the ribbon activated differently than when the ribbon is not activated. When the ribbon is activated (clicking the Page Tab), the scroll for s4-...
1
vote
0answers
11 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 ...
1
vote
0answers
29 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 ...
1
vote
0answers
37 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 ...
1
vote
0answers
25 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 ...
1
vote
0answers
75 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 ...
1
vote
1answer
273 views

What are the available tools we have to customize the UI design for sharepoint online modern experience

Since i start working on SharePoint on-premises 2013 & 2016 & online, usually some of our customers want to have their intranet UI to look totally different from sharepoint default UI. so they ...
1
vote
0answers
269 views

Can i hide the Site Title area from our home page inside our sharepoint online team site's modern page

I am working on an online team site collection title "Sharing", and i have created a new modern page which i set as the home page for my site. so now the home page looks as follow:- but i am not sure ...
1
vote
0answers
620 views

Sharepoint 2013: init.js in “use strict” mode

init.js started throwing errors after changing http-equiv meta tag. It looks like strict mode is being enforced on init.js but can't see "use strict" anywhere. Error: Accessing the 'caller' ...
1
vote
1answer
50 views

PeopleEditor very slow in IE in application page having no master page

I am using PeopleEditor in an application page which has master page file as follows: DynamicMasterPageFile="~masterurl/default.master" Code <SharePoint:PeopleEditor ID="pp" MultiSelect="...
1
vote
1answer
111 views

Site collection level layout page not working

I had created one site collection under web application using same site template. I have two master pages one for admin level one for read level permission users. Everything was working fine with ...
1
vote
0answers
69 views

Enlarging the logo on modern experience viewlsts page

I am looking to enlarge the logo or at least replace the current logo square box with a larger rectangle image in SharePoint's modern experience. Adding a rectangular logo automatically compresses the ...
1
vote
0answers
23 views

Trouble with SOD on Oslo masterpage

We are using John Liu's configure custom actions page to add some custom javascript to our site. We are using the Oslo master page which comes with the following five scriptlinks. <!--SPM:<...
1
vote
1answer
400 views

Sharepoint 2016 MySite layout difference

I am encountering two different layouts of the mysite host (profile.aspx) in different environments, and cannot figure out why. The difference is that the profile picture switches from the left hand ...
1
vote
0answers
23 views

My Navigation got corrupted after hiding and showing some subsite links

I am working on a sharepoint server 2016. and i have created a new site collection of type team site and i enable the publishing infrastructure features. and inside the navigation i define to show the ...
1
vote
0answers
36 views

How to display the name of the page in the title bar?

I'm a sharepoint noob so please forgive my ignorance. Basically I wanna do this: i.e. show the name of the page selected in the drop down menu "Empowering our people" in this case on the title bar. ...
1
vote
1answer
420 views

Referencing JS, CSS files from other site collections in masterpage

We usually reference js files using tokens ~site and ~sitecollection and putting below into the masterpage: <SharePoint:ScriptLink language="javascript" name="~sitecollection/files/abc.js" runat="...
1
vote
2answers
116 views

Is it good approach to modify a master page CSS?

I have become really good at modifying Oslo or Seattle CSS and clients love the final product but now that I'm learning more about the Rest API and SharePoint Add-ins I wonder if it is a good approach....
1
vote
0answers
76 views

SharePoint Menus and JQuery

I use Muse exports for branding for SharePoint 2013, and usually have no problem. However, this time the jquery isn't loading. I've even tried a different menu to make sure it wasn't something with ...
1
vote
0answers
125 views

overflow issues with content/webparts

I have an issue with overflow in the s4-workspace container (see picture). Ideally, I'd like the parent div that the content is placed in to stretch EQUALLY with the content. Instead, I get this gap ...
1
vote
2answers
486 views

Boostrap messes up whole design

I have got HTML from designer which only uses two CSS; bootstrap.css and myStyle.css (custom CSS). There is no other CSS or JS file in HTML. The design looks fine when I open it in browser. But ...
1
vote
0answers
14 views

Correct way to integrate current navigation

What is the correct way to integrate current navigation in a publishing site? Make one master page which contain current navigation. Hide current navigation on home page using jquery. Make two ...
1
vote
0answers
66 views

Minimal Office365 ASPX with Suitebar only, no MasterPage

I am no MasterPage wizard so after some trial and error wonder if MP Wizards have some better insights Objective is to create a ASPX with only to the Office365 SuiteBar Below gets me the SuiteBar, ...
1
vote
0answers
497 views

Modifying the Master Page & Page Layout HTML version VS the ASPX version

One of the most conflicting thing for me in SharePoint 2013, is that master pages and page layouts have HTML and ASPX versions. and some articles and tutorial directly modify the ASPX files while ...