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
2answers
425 views

Master Page script only executes once

I have added the following code after the include for the JQuery file and the script tags in my master page. I put the script immediately before the end body tag of the master page. $(...
0
votes
1answer
771 views

Changing the Pagetitle colour will not take effect for the Library titles or when the page title is rendered as <a> link

I have modified my pagetitle tag style colour to be white inside my seatle.master page, using the following CSS :- <h1 id="pageTitle" class="ms-core-pageTitle" style="color:white;float:left;text-...
1
vote
1answer
28 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 ...
0
votes
1answer
810 views

Create Blank Page with One Web Part Zone

I need a web page that only has one web part zone. No ribbon. No header. No footer. I created a new master page in an attempt to set the foundation for a blank page. Then i created a new page and ...
1
vote
3answers
3k views

Can't see files in master page folder in Sharepoint Designer 2010 but It's still there

When I open SharePoint Designer 2010, and open master page folder, the folder is empty, and no files are showed. If I go to browser and check the same folder, all files are there. How can I fix it?
0
votes
1answer
805 views

Ad-rotator Asp.Net Control on my 2010 master page does not work on child pages

I have a SharePoint 2010 site I'm setting up where I want to have an AdRotator on every page, so I added the control to my master page in SharePoint Designer. However when I look at my site, all the ...
1
vote
1answer
930 views

SP foundation 2013 master page to HTML

How to convert the master-page to the HTML. I've made changes to CSS (which i want to use) and i found the only way to do so by adding it to the HTML conversion of the master page. I'm new to the ...
0
votes
1answer
1k views

How to show a modal dialog without master page content?

I am migrating a sharepoint solution from Sharepoint 2010 to 2013, and so far everything works, but I'm stuck at one specific problem. In some lists, the user has the possibility to open an editor for ...
0
votes
1answer
1k views

Error “The referenced file '/_catalogs/mycustompage.master' is not allowed on this page.” when using custom master page in application page

I am trying to use customer master page in my application page but getting following error: Error The referenced file '/_catalogs/mycustompage.master' is not allowed on this page. Code <%@ ...
1
vote
1answer
1k views

Publish Master Page

I created a new subsite under my SharePoint 2013 Site. I want to publish master page for the new subsite. I do the following. But my new subsite open default master page. How can I publish from ...
1
vote
2answers
1k views

Remove ms-core-header ms-tablerow

How do I remove this from SharePoint without messing up the page? I am using the Oslo MasterPage. <div id="titlerow" class="ms-dialogHidden ms-core-header ms-tableRow"> On my site if I delete ...
2
votes
1answer
998 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
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 ...
1
vote
2answers
1k views

Reset/Remove Masterpage style on page layout

I have a problem that requires me to remove all masterpage styles from my layout page and add custom css styles to the layout. I have been able to add the custom css to the layout but don't know how ...
1
vote
1answer
1k views

Using meta tags for Facebook in a SharePoint site

I have a public-facing SharePoint Foundation 2013 site, http://www.oceanview335.com. It is NOT a SharePoint Online site. I am trying to build meta tags in the master page so I can control the data ...
1
vote
3answers
1k views

Add javascript in master page sharepoint 2013 using wsp solution file

I added user control and then empty module to reference user control inside SharePoint 2013 master page but it is not working. Control Id="AdditionalPageHead" Sequence="150" ControlSrc="~/...
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 ...
3
votes
1answer
3k 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 ...
0
votes
1answer
688 views

SharePoint 2013 website does not scroll on Android phones

Our organization is using an on-prem version of SharePoint 2013 with a custom masterpage. We discovered that when using the combination of an Android phone with the Google Chrome browser to open our ...
0
votes
1answer
746 views

Image Banner not displaying for read-only users

On one of the Site Collections we have in SharePoint 2013, we created a custom banner. The banner is not displayed for users who have read-only access to that Site Collection. Is there away for us to ...
3
votes
1answer
2k 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? ...
0
votes
1answer
1k views

Fixed layout or center homepage -SharePoint Online

I would like to have a homepage in SharePoint online to have a fixed layout ideally have it centered with equal spaces on the left and right. Right now after removing the quick launch everything else ...
1
vote
1answer
755 views

Fixed Width Master Page Issue: List Item Drop Down Menu Gets Cropped / Cutoff

We have a custom master page that is setup in a Fixed Width format. On pages that have a lot of columns we get overflow scroll bars on the x axis which we are fine with. The issue is that the list ...
0
votes
1answer
701 views

Hide some folders from my “Tree View”

I am working on an enterprise wiki site collection inside SP 2013.now i have enabled tree view which display all the folders as follow:- But i only need to show the folder named "HR" and its metadata ...
0
votes
1answer
749 views

SharePoint not loading properly just showing sprite images - SP 2013

I'm having a problem in a site collection where it just load the images attached but when i click on a sub-site it works fine. No idea why this happening. Thanks in Advance
1
vote
0answers
20 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 ...
1
vote
2answers
444 views

Custom Master Page Ribbon does not push down content

In my custom master page, I want the ribbon to push down the content. Since it doesn't push the content down, it will be hard to edit some properties since the ribbon will simply be upon some input ...
0
votes
0answers
47 views

Custom JS script on Wopiframe2.aspx

In order to customize system notifications, I'm using JavaScript loaded through an AdditionalPageHead for replacing the HTML in the maintenance message displayed on top of every .aspx page in the farm....
0
votes
1answer
282 views

What permissions should I use for my SPSecurityTrimmedControl to only give access to admins?

I'm currently building a master page for a SharePoint 2010 site using Designer 2010. The look and feel has been largely completed, however I'd like to hide a component from everybody except the admins ...
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
1answer
69 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 ...
15
votes
5answers
22k 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 ...
0
votes
2answers
79 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?
0
votes
1answer
753 views

Difference between asp.net master pages and SharePoint master pages?

I am new in sharepoint can anyone suggest Difference between asp.net master pages and SharePoint master pages?
0
votes
4answers
84 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 ...
0
votes
4answers
417 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?
0
votes
1answer
26 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 ...
0
votes
1answer
22 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 ...
1
vote
2answers
23 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
1
vote
3answers
1k 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 ...
1
vote
2answers
803 views

favicon is not working SharePoint Online site using HTML master page

I'm using HTML master page for SharePoint online site. To show favicon i have included the below code in HTML master page, <link rel="shortcut icon" href="https://siteurl/favicon.ico" type="image/...
0
votes
1answer
37 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 ...
0
votes
1answer
17 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 ...
0
votes
1answer
31 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 ...
0
votes
0answers
34 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 ...
0
votes
2answers
31 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 ...
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 ...
4
votes
1answer
711 views

SharePoint 2013 Online (365): How can I insert html tags, such as divs and footers in the OOTB master page?

This is my first time working with SharePoint Online and I have been asked to create a master page with some custom links inside different divs and a footer. I saw another post here, but it did not ...
0
votes
1answer
69 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 ...
1
vote
2answers
131 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,...

1
2 3 4 5
19