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.

Filter by
Sorted by
Tagged with
53
votes
7answers
29k views

How to update custom master page and page layout, which is already deployed

I have a feature which deploying custom page layout. It's done by this code: <Module Name="MasterPageModule" Url ="_catalogs/masterpage"> <File Path="MasterPageModule\defaultTemplate.aspx" ...
18
votes
3answers
37k views

Adding jQuery to master page

I am trying to customize a Sharepoint 2013 team site. I created a copy of seattle.master and set it as default master page via context menu. I added my custom CSS within head tages like so: <...
13
votes
1answer
37k views

How do I get a subsite to inherit the main masterpage?

I have a masterpage (copy of v4.master) and I added a link to a custom css. when I create a new site it does not pick up the correct master page. How do I fix this? thanks
10
votes
6answers
39k views

How to use relative URL for image in Master Page?

I am using a logo in my Master Page which will be displayed on all pages. How do I use its relative URL? Currently it is written as: <img src="/sites/Style Library/Images/logo.jpg"> But it is ...
10
votes
2answers
4k views

IM Presence Icons not appearing in SOME master pages - IE9

I have updated my master pages to use some HTML5 and CSS3 elements. I therefore changed the to use HTML5, and altered the X-UA-COMPATIBLE to work in "IE=9;IE=Edge;" mode (instead of IE8). I did not ...
7
votes
7answers
8k views

What is the proper way to add jQuery to a MasterPage?

Currently I am using this method in the header: <script src="/_layouts/MNCAssets/scripts/jquery-1.5.1.min.js"></script> But for some reason, my webparts that use jQuery don't appear to ...
1
vote
1answer
3k views

Unable to reference jQuery inside my master page

I am working with SharePoint server 2013, and inside my Style Library folder I have added the Jquery file. then under the custmJSUrl section inside my seatle.master page, I added a reference to the ...
2
votes
2answers
5k views

SharePoint online refer custom css and javascript in MasterPage (Site Assets)

How to add references to css and js files in HTML master pages. The files are residing in SharePoint libraries.
10
votes
8answers
6k views

How can we use a different masterpage for annoymous and authenticated users?

Is there a way to load a different master page if I can identify the user to be annonymous?
3
votes
3answers
4k views

How can I enable JavaScript on every page at a site level?

I'm using SharePoint 2007 and I would like to add the JS code for Google Analytics into the master page. I think a Delegate Control is the way to go, as we already have a Delegate Control in the Head ...
3
votes
6answers
12k views

How to display drop down menu (top navigation) - trying for many days now

I am trying to display top navigation as drop down menu just like you see in theme "seattle". I created my own theme, then I went to "Design Manager" and then I went to "Snippets". I copied the ...
3
votes
1answer
981 views

SitePages uses System Master Page

Bit of a strange issue today. I wasn't involved in the initial branding/master pages etc of my companie's SP Environment. Anyways, I have a strange issue. On my site, I have some pages storted under ...
1
vote
3answers
865 views

Best approach to use new .ico image for my sharepoint online site collections without the need to modify the seatle.master

I am working on an office 365 sharepoint online 2013. and inside the web application i have 2 site collections; Team site collection & Enterprise Wiki site collection. now i need to update their ...
2
votes
2answers
1k views

Apply CSS to Site Collection and all subsites using PowerShell in SharePoint 2013

I am holding responsive CSS file. And I would like it to apply my CSS file for my site collection and its subsites, so that lists and document libraries also get responsive. Can anyone help me in ...
1
vote
2answers
3k views

Add css to masterpage (SharePoint Online/Office 365)

I have a css to hide list search box on document libraries. It's in the SiteAssets library. I can edit a document library view and add Content Editor webpart and add css reference and able to hide. ...
1
vote
6answers
12k views

Referncing a JavaScript file inside my master page will not fire

I have added the following to my seatle.master page inside my SharePoint server 2013 :- <SharePoint:ScriptLink language="javascript" name="custom.js" OnDemand="true" runat="server" Localizable="...
1
vote
1answer
370 views

Developing SharePoint Online master pages

Here's the main question: what is the best practices for designing custom master pages on SharePoint Online? Here's some background info: I've been designing and developing SharePoint master pages on ...
1
vote
1answer
3k views

How to tell where a masterpage is used in a site collection?

Is there a way, within a site collection, to see all the pages that use a particular masterpage? I have several masterpages and can't remember which ones are used where.
10
votes
2answers
30k views

CSS and master page - Sharepoint online - Office 365

I created a custom .css file and dumped it in /Style Library/custom/corev15.css I just created the 'custom' folder and created a duplicate of the original (/_layouts/15/1033/styles/Themable/corev15....
7
votes
3answers
17k views

“Master Page” option from site look and feel is missing

I knew from previous experience that many SharePoint sites had a section under Site Settings > Look and Feel labeled "Master Page"... however I could not find this section. There were tutorials ...
7
votes
3answers
15k views

SP2013: Adding a custom usercontrol to masterpage using Design Manager

I created a custom masterpage using the SP2013 Design Manager. I also created a SharePoint solution in Visual studio 2012 with a custom usercontrol (ascx) and custom webparts. The masterpage works ...
9
votes
3answers
5k views

Change masterpage from Seattle to Oslo using CSOM, Sharepoint online

Using CSOM and c#, I would like to change the master-page from Seattle to Oslo. Can anybody help me?
3
votes
3answers
7k views

SharePoint 2013: Responsive Master page

I have been given an assignment to create a Responsive Master Page for SharePoint 2013. I've been researching for few days and found out that we can achieve it using: Media Queries Device channel ...
5
votes
1answer
12k views

Placing the search box in the header

I am working with a company that has supplied the branding I am using to create my master page. I have successfully imported and converted this with most of my content appearing in the <div ...
4
votes
3answers
6k views

Activating Publishing Feature breaks because of custom Master?

This issue is related to this post. I get an error message when the publishing feature is activated on sites of certain types. This means that I also get an error message when I create certain sites ...
3
votes
4answers
7k views

SP2010 Reset all subsites to inherit masterpage using c#

I'm creating a site feature reciever which sets a custom master page on the root web. I would also like the master page set on the root to be inherit to all the subsites. What is the most elegant way ...
3
votes
2answers
8k views

How to apply custom site layout on my Team Site?

Please take a look at the following screenshot of my team site. I want to apply custom site layout on this team site. I opened the site in SharePoint Designer and made of copy of seattle.master and ...
2
votes
2answers
3k views

How to assign masterpage via CSOM?

I have the following code to assign masterpage via CSOM but its not working, after I go to the site, it says File not Found, I guess URL is wrongly constructed. Please note that I am not trying to ...
2
votes
1answer
4k views

How to add a custom web part to a master page using SharePoint Designer?

I want to add my custom web part in master page using SharePoint Designer. I tried but I am receiving the error shown below. And this is the description of error. ExecuteRequestInSandBox call ...
1
vote
6answers
7k views

Add a Web Part to a Master Page for only one page in SP2010?

I would like to add a Web Part to part of a Master Page, but only in the case of the home page of the site. Otherwise it is not needed. How can I handle this? (see attached image) Do I have to create ...
7
votes
4answers
12k views

Can I use the same master page between Site Collections?

I've created a root site collection from the Publishing site collection template and am using a custom master page to style the site. If I create another site collection how am I able to use the same ...
4
votes
1answer
603 views

Masterpage conversion - causing javascript errors/masterpage breaks? when server name and internet url are different

JavaScript stops working and Masterpage seems to lose all styles. There are 3 places where a converted .html Masterpage references the original URL/Domain the site was created in. <mso:...
3
votes
2answers
17k views

How to edit a sharepoint master page without using sharepoint designer?

I have a masterpage that resides on a sharepoint server, on the server designer is not installed. Basically I want to be able to edit a master page in notepad. Is this possible?
3
votes
1answer
2k views

Add Vertical Scroll in IE9

I'm re-branding an Intranet publishing site for SharePoint 2013 using VS2012 - I'm creating project as a Feature and deploying the .wsp file locally. Using IE9, short pages have no vertical scroll ...
3
votes
4answers
21k views

SharePoint 2013 Fixed-Width Master or Fixed-Width Page-Layout or both?

I'm planning a Site and I know the default landing page needs to be a fixed width. I've also seen the awful things fixed-width does to Lists and Libraries (A List with too many columns looks ...
3
votes
4answers
9k views

Loading jQuery in the Correct order

I wish to use a jQuery plugin in SharePoint. Currentley I have jQuery added to each page via a custom master page. <script src="/Style Library/js/jquery-1.6.4.min.js" type="text/javascript"><...
2
votes
3answers
4k views

Files deployed in module cannot be found

I'm trying to deploy a selection of pages and master pages in modules but I'm encountering the same problem with all of them. When I try to navigate to a page, I get a File Not Found error (with ...
2
votes
1answer
2k views

How to change the Top Bar tab titles

I have a requirement to change the Top bar titles for my team site and community site. For example I need to change the “Page” to be “Page options”.so from where I can change these titles.? Second ...
1
vote
3answers
4k views

How to hide the “About Me” link from the username drop down list

We have built our team site, for adding Apps and different contents, but for now we do not want to have About me page for each user. So is there a way to remove the “About me” link from the username ...
1
vote
1answer
577 views

create/deploy master page and page layouts using spfx

how to create and deploy Master Page and page layouts using the SharePoint Framework? SharePoint Framework is all about related to creating client side webparts only?
1
vote
1answer
508 views

Is there a way to reference jQuery inside my master page without having to modify it (same as referencing Alternate CSS URL )

I am working on a sharepoint online 2013. and inside my team site collection, i am adding some script editor web parts which uses jQuery. and for sharepoint to understand jQuery code i need to ...
0
votes
4answers
3k views

Top Navigation menu flyouts render blank iframe in IE8

I have a problem with an SharePoint 2007 site where the navigation menu flyouts (drop downs) render as a blank white space. This problem only happens on our clients network. It works fine on my own ...
0
votes
1answer
3k views

More than one master page for share point 2013 same public site?

Is it possible to have more than one master page in share point 2013 for same site? I was able to create two master page in Design Manager and two different layout for the two different master pages. ...
10
votes
4answers
7k views

SharePoint 2010 branding - I see it (as site admin) but rest users don't

Our web developer helped me customize our SharePoint 2010 web application (few images and colors). Very basic. He made changes to the master page and I selected that master page and applied it to ...
8
votes
2answers
204 views

How to add scripts to a site collection without modifying the masterpage

Our company has restricted any modifications to 2013 SharePoint masterpages. For the most part I have been using layout pages to add scripts however if a site is not a publishing site, I am looking ...
3
votes
1answer
238 views

SharePoint CreatePage.aspx page does not redirect to pages library after page is successfully created

I am facing problem while creating new page to pages library using particular page layout. When I create a new page from CreatePage.aspx page in library, it did not get redirected to newly created ...
3
votes
2answers
131 views

Top Naviation Menu is not loaded when script runs - SharePoint Foundation 2013 Oslo Master Page

I am trying to find the Top Navigation menu elements that are in the top part of my master page. So at the bottom of my master page I have added a script to fine the element on the page as follows: ...
3
votes
2answers
6k views

Custom composed look do not appear in “change the look”

I've got: - custom master page - custom color palette - custom font schema - and made a preview file --> deployed to farm In the "composed look" list everything looks right. But when I go to "...
3
votes
3answers
5k views

Create a custom master page for a new site collection by copy/paste existing seatle.master

I want to create a custom master page for my site collection. So I am planning to do the following steps:- Using sharepoint designer, to copy exsisitng seatle.master page, and then paste it. Rename ...
2
votes
5answers
23k views

How to change the master page associated to a custom page layout?

I'm creating a custom page layout starting from the Article Page layout, which is associated by default to the master page v4.master. I want now associate this web page with a custom master page of my ...