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
54 votes
7 answers
31k 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" ...
Michal's user avatar
  • 863
18 votes
3 answers
38k 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: <...
Juergen Riemer's user avatar
15 votes
5 answers
24k 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 ...
John John's user avatar
13 votes
1 answer
38k 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
Jjp's user avatar
  • 255
12 votes
2 answers
32k 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....
gpapas's user avatar
  • 135
11 votes
6 answers
41k 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 ...
Frank Martin's user avatar
  • 3,636
10 votes
8 answers
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?
Sleeper Smith's user avatar
10 votes
4 answers
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 ...
user4747's user avatar
  • 219
10 votes
2 answers
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 ...
Matt's user avatar
  • 1,424
9 votes
3 answers
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?
Jacob Filtenborg's user avatar
8 votes
3 answers
21k 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 ...
user avatar
8 votes
4 answers
13k 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 ...
Sambo's user avatar
  • 385
8 votes
2 answers
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 ...
bob's user avatar
  • 285
8 votes
5 answers
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....
Will's user avatar
  • 243
8 votes
2 answers
260 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 ...
CSM's user avatar
  • 83
8 votes
2 answers
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 ...
thanby's user avatar
  • 2,670
7 votes
2 answers
17k 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 ...
Jack's user avatar
  • 1,063
7 votes
1 answer
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 ...
user3462522's user avatar
7 votes
7 answers
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 ...
Abe Miessler's user avatar
  • 6,735
7 votes
2 answers
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 ...
variable's user avatar
  • 4,466
7 votes
3 answers
16k 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 ...
Wout's user avatar
  • 1,605
7 votes
4 answers
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 ...
allegro octopus's user avatar
7 votes
2 answers
151 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 ...
mdrussell0779's user avatar
6 votes
3 answers
2k 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 ...
Curious's user avatar
  • 405
6 votes
6 answers
31k 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....
George2's user avatar
  • 1,343
6 votes
3 answers
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 ...
Medes's user avatar
  • 2,086
6 votes
2 answers
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....
Mauro's user avatar
  • 1,110
6 votes
1 answer
436 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 ...
John John's user avatar
6 votes
1 answer
665 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="...
Plexus81's user avatar
  • 2,250
6 votes
3 answers
21k 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 ...
Carl C's user avatar
  • 203
6 votes
2 answers
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 ...
Benny Skogberg's user avatar
  • 25.5k
6 votes
1 answer
174 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 ...
Eradev's user avatar
  • 61
5 votes
3 answers
6k 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 ...
Alex C's user avatar
  • 4,395
5 votes
1 answer
14k 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 ...
westerdaled's user avatar
5 votes
2 answers
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?
GoodMilkMan's user avatar
5 votes
2 answers
340 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 ...
Luka Klarić's user avatar
5 votes
2 answers
1k 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 ...
user avatar
5 votes
1 answer
538 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 ...
Johanna Larsson's user avatar
5 votes
2 answers
3k 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 ...
John John's user avatar
5 votes
1 answer
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 ...
Kitty Dunle's user avatar
5 votes
1 answer
582 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 ...
Gabriel Smoljár's user avatar
5 votes
2 answers
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 ...
P B's user avatar
  • 341
4 votes
2 answers
4k 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 ...
Mathematics's user avatar
  • 1,743
4 votes
1 answer
2k 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 ...
John John's user avatar
4 votes
4 answers
535 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 ...
SharePoint Lady's user avatar
4 votes
2 answers
785 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?
zengel's user avatar
  • 539
4 votes
3 answers
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.
Anil's user avatar
  • 517
4 votes
2 answers
20k 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?
user879's user avatar
  • 1,066
4 votes
5 answers
9k views

Removing top links from Sharepoint online team site

The whole day yesterday I have been trying to follow the instructions from MSDN to hide the top links in a SharePoint team site (SharePoint Online in Office 365). However, I can not get it to work. ...
Kerry's user avatar
  • 41
4 votes
1 answer
599 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 ...
RJ Cuthbertson's user avatar

1
2 3 4 5
20