We’re rewarding the question askers & reputations are being recalculated! Read more.

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: <...
15
votes
4answers
20k views

SharePoint designer is showing “Server error: this file may not be moved, deleted, renamed or otherwise edited”

I want to edit the seatle.master master page for my enterprise wiki site collection. So I did the following:- I copy the seatle.html inside the SP designer. Paste it. It automatically creates two new ...
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
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?
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
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 ...
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....
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 ...
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?
8
votes
2answers
1k views

CSS not linked on All Site Content

I created a master page and custom CSS file to brand the root site of on my SP10 server. I then applied this master page to all subsites. The style is applied properly on all sites except when I ...
8
votes
5answers
6k views

Using Minimal.Master in a custom aspx page

I have the following code line that adds the default.master to a custom aspx page; <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ConvertStatus.aspx.cs" Inherits="Class.Layouts....
8
votes
2answers
203 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 ...
8
votes
2answers
10k views

Breadcrumb and flyout on custom master page

I have a master page that I wrote from scratch and applied through the Design Manager to one of my site collections. I would like to add the 2010-style breadcrumb and/or navigate-up flyout button in ...
7
votes
2answers
16k views

set as default master page VS set as custom master page

What does it really mean in SharePoint Designer 2007 with regards to 'Set as default master page' and 'Set as Custom master page'? Are there really differences between them? And at what type of ...
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
1answer
1k views

SharePoint Master Page and Pages/Site Pages?

I've created a master page and assigned it to the site collection using: Site Settings -> Look and Feel -> Master page My problem is that this master page only effects pages in the "Pages" library ...
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 ...
7
votes
2answers
1k views

Is there a way to hardcode the masterpage to change/remove the top left 'Sharepoint' text?

We can do it in few lines of powershell: $webApp = Get-SPWebApplication http://tozit-sp:2015 $webApp.SuiteBarBrandingElementHtml = "Awesome Text Goes Here" $webApp.Update() I want to know if there ...
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 ...
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 ...
7
votes
4answers
8k views

Sharepoint 2010 Modal Dialog Box is cropped

I am working on SharePoint 2010 project with custom master page. I am having this problem where contents on my modal dialog box is cut off (see below). I have spent hours googling and using firebug ...
7
votes
2answers
150 views

Pulling hair out: How to customize MOSS2007 site to be front facing

I have a client that I've been working for that has a front facing MOSS2007 site, and wants another one. I originally did the work by using SD2007, creating a master page, and then creating a bunch of ...
6
votes
6answers
28k views

How to find the master page a site is using?

I am using SharePoint Server 2007 Enterprise with Windows Server 2008 Enterprise, and I am using publishing portal template. I have a root web site and some child sub-web site. I am using Blueband....
6
votes
3answers
4k views

changing master page of My Site content and Host

I have succeeded to change master page for my site (content) by implementing feature stapling, and now I can see my top navigation in my site as well. My question is, if after a while I made changes ...
6
votes
2answers
3k views

remove *.debug.js from master page

When I view my SharePoint site I see a lot of .debug.js files being added by SharePoint. Is there a way to stop this happening. cui.debug.js core.debug.js sp.debug.js sp.ribbon.debug.js init.debug....
6
votes
1answer
306 views

Remove duplicate links from my navigation Breadcrumb inside my Enterprise wiki site collection

I am working on an Enterprise wiki site collection inside my sharepoint farm 2013 on-premises. Now i am following this appraoch to show a Breadcrumb navigation link for my site collection Link. so i ...
6
votes
1answer
567 views

Refer to css in root style library in master page - only root

How do I add a css that are located in root style library in a master page? <SharePoint:CssRegistration ID="CssRegistration1" Name="<% $SPUrl:~Site/Style Library/awesome.css%>" runat="...
6
votes
3answers
20k views

How do I apply master page changes to all subsites in SharePoint 2013?

I realize similar questions have been asked, but master pages have changed somwehwat in SharePoint Server 2013, and this is actually several questions in one. I've read lots and lots of articles, and ...
6
votes
2answers
1k views

Feature “SharePoint Server Publishing” disables jQuery

I'm currently configuring a SharePoint Online (Office 365) site where I need to use jQuery. A very common scenario where I do as I usually do. So I activate Site Collection Feature SharePoint Server ...
6
votes
1answer
167 views

What is __spText1 and __spText2 used for?

Hello I am new to SharePoint and I wanted to make a custom master page. I've stumbled on __spText1 and __spText2 and I was wondering if I can remove them? If not, what do they do / represent? Thank ...
5
votes
3answers
682 views

SharePoint master page customization

I want to customize default Seattle.master page in sharepoint 2013. As per my knowledgewe there are two files seattle.master & seattle.html, and we can able to make changes in any file. But i ...
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 ...
5
votes
2answers
5k views

Add footer without Master page modification in SharePoint (Office 365)

Are there any approaches to add a sticky footer to all pages in SP site without Master Page modifications?
5
votes
2answers
291 views

Visitor can't access a copied seattle.master page

I need to insert a few lines of HTML code into the seattle.master file, but I don't actually want to edit the seattle.master file. So I copied the same file, inserted the code and set the copied file ...
5
votes
2answers
931 views

SP Online Best Practice with MasterPages

I want to customize SharePoint more to remove Recycling Bin and Edit links from the SharePoint site. Is it best practice to Copy/Paste (Create new) copy of the seattle.master page then rename it and ...
5
votes
1answer
521 views

Add .preview file using feature

I have this feature with a nice little master page inserted through a feature, and it works fine. Now I'm looking into theming, created a composable look. To choose this look in the design manager ...
5
votes
2answers
2k views

Can't rename a master page or edit using SharePoint designer 2013, although I have create it

I am working on a SharePoint online Team site collection. now the team site have the publishing infrastructure features disabled. Now i want to create a custom master page for my site collection. and ...
5
votes
1answer
1k views

SP 2013: Add Recycle Bin link to Quick Launch

Background One of our clients has made the shift from SharePoint 2010 and SharePoint 2013. They pointed out that there is no longer a link to the Recycle Bin in the Quick Launch (Site Contents is ...
5
votes
1answer
540 views

How do I localize page layouts and masterpages in a sandboxed solution?

In farm solutions you can use resource files inside aspx-pages by deploying resx-files to the hive. MSDN have some documentation but there's no example for page layouts, just managed code which is ...
5
votes
2answers
3k views

Difference between Publishing Master Page and Standard Master Page

In SharePoint Designer, you can create a new Master Page or a new Publishing Master Page from Content Type. So what is the difference between a Master Page with a Content type of "Publishing Master ...
4
votes
3answers
5k views

Page layouts vs. Master pages

When do you create a custom page layout vs. a custom master page for a site? Is it good practice to create custom page layouts only for limited branding of SharePoint 2010? I'm thinking the page ...
4
votes
2answers
2k views

Can we have custom application page without any master page at all?

I created an empty custom application page, it has all defaults and I didn't add anything to it. It takes at least 3 minutes to load... I don't need SharePoint functionality in this custom page but ...
4
votes
4answers
351 views

SP13: Link to Page on SharePoint Banner

I am not sure this is possible. Is there a way to make the SharePoint that appears in the upper-left hand corner to be linkable? I want users to be able to click on "SharePoint" and take them to a ...
4
votes
1answer
1k views

is there a way to add “breadcrumb” navigation to my master page in sharepoint on-premise 2013

I am working on a sharepoint server 2013 on-premise. currently I have 3 site collections. And on some site collections I have 2 levels of sub-sites. Now currently we depend on the left side ...
4
votes
2answers
703 views

Design Manager Doesn't Appear

I want to publish my custom masterpage. I clicked Site Settings but Design Manager doesn't appear under menu of "Look and Feel". How can I do appear this option?
4
votes
3answers
6k views

Sharepoint Master Page Powershell

We have over 80 Site Collections in our Web Application is there a way through power shell that i can set the same master page for all the site collections.
4
votes
1answer
547 views

What is ms-hcTest?

Between the Suite Bar (<div id="suiteBar">) and the Ribbon Row (<div id="s4-ribbonrow">) there is a content-less div with id of ms-hcTest (<div id="ms-hcTest"/>). Does anyone know ...
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 ...
4
votes
2answers
771 views

Broken master page

I tried making an edit to the master page HTML file and I guess I made a mistake. I uploaded the HTML file to the master page gallery and now I can't access any part of the SharePoint site. Whenever I ...