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
3 votes
1 answer
177 views

How to create blank page (.aspx) but with core scripts?

I have created a blank page, but then for example ProccessImn() function or _spPageContextInfo variable is not defined. That is because there are not included .js files links I assume. But what links ...
Tony's user avatar
  • 31
1 vote
0 answers
28 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:<...
Rothrock's user avatar
  • 2,920
0 votes
1 answer
555 views

Setting up the thumbnail link for social media websites on SharePoint

When users of our websites share a link from our SharePoint website on Facebook, Yammer, or any other social media, the image thumbnail defaults to a random image (see image) We've attempted to add ...
Jennifer Bartolome's user avatar
3 votes
2 answers
219 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: ...
George M Ceaser Jr's user avatar
0 votes
2 answers
927 views

How i can force the site logo to always redirect to our home site inside office 365

I am working on an office 365 project. and we have created 5 site collections. but i want the site logs to always redirect to the following site collection /sites/home. now the limitations/issues i am ...
John John's user avatar
0 votes
2 answers
634 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. $(...
George M Ceaser Jr's user avatar
4 votes
1 answer
2k views

SharePoint not reflecting CSS Changes

I am trying to make a css change to my sharepoint 2013 site. I make the change to the css and save it, but it isn't reflected on the site. Things I have tried: I make a more drastic broadly scoped ...
Neberu's user avatar
  • 178
2 votes
1 answer
62 views

MasterPage in children subsite

Can I change master page only in subsite without selecting "Specify a master page to be used by this site and all sites that inherit from it:" in "Site Settings" -> "Look and feel" -> "Master Page"?
Руслана Нигматуллина's user avatar
0 votes
2 answers
2k views

SharePoint 2013 IE 11 Document Mode Issue

I am using SharePoint 2013 default Master Page seattle. We are also using K2 on our machines and it requires browsers to run on IE 9 or higher mode. View source reveals that: <!DOCTYPE html ...
Thisisme..'s user avatar
2 votes
1 answer
211 views

Sharepoint Online link to stylesheet is counted as a page control in master page. Why?

If I add a simple link to a stylesheet to a master page I get the "you have more than 200 controls" error. <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/...
matt's user avatar
  • 569
2 votes
2 answers
1k views

Method for adding a Watermark Logo/Text to bottom of each Sharepoint page

I'm currently trying to add a Watermark Logo or text to the bottom of every Sharepoint site/Subsite. Can anyone recommend an effective way to do so? I've tried various incarnations of CSS using the ...
cod3r_jim's user avatar
  • 307
1 vote
2 answers
848 views

Why is editing Master Pages in SharePoint 2013 not recommended for custom branding?

Lots of suggestions I'm reading for custom branding in SP2013 suggest editing the master page, but I've been given direction that this is not recommended. Can someone confirm why this is not a good ...
Robert's user avatar
  • 61
0 votes
1 answer
155 views

While Editing SharePoint master page to hide site Titile, I am not able to find DeltaPlaceHolderPageDescription

I am editing a SharePoint Online master page. Commented out below mention, complete h1 section but still site title "Trial" is showing on the page. <h1 id="pageTitle" class="ms-core-pageTitle"&...
cjs's user avatar
  • 1,204
2 votes
2 answers
781 views

Add Content Editor webpart in masterpage with Target audience

I have my custom master page developed in SharePoint 2013, Now I have a requirement to have some links to be visible for only particular user/group (not on permission so SecurityTrimmedControl will ...
Pradip R.'s user avatar
  • 2,221
1 vote
1 answer
476 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 ...
user avatar
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
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
0 votes
1 answer
28 views

Show Environment MachineName on Master Page SharePoint 2010

I'm working with SharePoint 2010. I am trying to show the Environment.MachineName variable in the Master Page. Any good examples online for doing this, as well as using XSLT variables or VBScript? I ...
CigarDoug's user avatar
  • 1,063
3 votes
2 answers
999 views

Disable mobile version only for particular devices (SP Online)

Can I disable mobile view only for iPad and iPhone (IOS) devices (users with other devices should still use mobile version)?
Gennady G's user avatar
  • 1,613
2 votes
0 answers
122 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. ...
Jennifer Bartolome's user avatar
4 votes
2 answers
2k 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 ...
Mdomin45's user avatar
  • 361
2 votes
2 answers
2k 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 ...
MSA's user avatar
  • 1,155
3 votes
1 answer
363 views

Apple touch icon for SharePoint site not working

Tried creating an apple touch icon for my SP team site, below is the link tag in the header tag of the master page as suggested on the apple support portals and other SharePoint portals. <link rel=...
noah_dvlpr's user avatar
0 votes
2 answers
1k views

Remove Left Navigation and Edit Link Option from SharePoint Site Collection

I am seeking to apply Script or css to root SharePoint site which should get effected to all the site collections and remove Left Navigation and "Edit Links" option which exists on Top link bar.
MSA's user avatar
  • 1,155
3 votes
1 answer
893 views

Sharepoint Site master page not applied using designer

I have converted my HTML to masterpage and published a major version of it. When applying master page using design master page, I change the site master page to my newly converted masterpage and the ...
Joy D'souza's user avatar
3 votes
1 answer
892 views

How to identify master page and page layout of a page?

How to identify which master page and page layout the page is made from? I have a page and I need to apply some content marking on it. I am not able to identify where exactly I need to do so, for all ...
Rajiv's user avatar
  • 91
0 votes
1 answer
21 views

sp 2010: global navigation fly out does not work on "special pages" like recycle bin or site setting page

We modified the master page of our SP 2010 to show multiple levels of navigation by changing the <SharePoint:AspMenu> tag's MaximumDynamicDisplayLevels attribute and this works fine on every ...
user67229's user avatar
0 votes
1 answer
109 views

HTML Fields in Edit Mode Help

So this is what I have done, I have created a menu on one of my SharePoint pages using a custom html list and CSS to make it look nice. I have then taken that HTML file and converted it into a master ...
Jacob Caldwell's user avatar
1 vote
2 answers
1k views

How can I apply a master page to a subsite without designer?

I'd like to apply a custom master page to a subsite. The intent is simply to attach the jQuery library and a loader script to the master page. I have full control to all subsites. Strict limitations ...
Oxossi's user avatar
  • 644
1 vote
1 answer
58 views

How to differentiate touch screen desktop and simple desktop in device channel of sharepoint

Background: Working with SharePoint one additional device channel, i include Phone, Android and "Tab" in inclusion rule for mobiles and tablets, everything was working as expected. Problem When one ...
user2275701's user avatar
3 votes
1 answer
289 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?
Trimantra Software Solution's user avatar
1 vote
1 answer
300 views

SharePoint 2010 Master Page changes not reflecting

I had to add google analytics code in a Sharepoint 2010 website. I have added the script to master page from Sharepoint designer. But thescript` is not reflecting in the site. Do I have to do anything ...
Rahul K's user avatar
  • 11
0 votes
1 answer
347 views

How to convert normal html website home page to SharePoint master page in SharePoint 2013? [duplicate]

I follow some article to convert HTML page to master page and I stocked in snipped section. After converting, my HTML page and other design are rendered in above section of master page and SharePoint ...
Sunil Shrestha's user avatar
0 votes
0 answers
179 views

SP13: Changing Subsite Title

I have seen many posts how to change subsite title but still confused. I know that this is very simple, but when I change the title it also changes the url. I do not want it to change the url just ...
SharePoint Lady's user avatar
2 votes
2 answers
832 views

Adding jQuery to Seattle masterpage

I'm trying to add jquery to my Seattle masterpage. I followed these directions which say to add the following (modified for my locations) line to the Seattle.html file. <!--SPM:<SharePoint:...
Rothrock's user avatar
  • 2,920
0 votes
1 answer
193 views

Using Repeater in html page Sharepoint 2016

<!--SPM:<asp:Repeater runat="server" ID="rptrNavigation" DataSourceID="customSiteMap">--> <!--SPM:<HeaderTemplate>--> <!-...
SharePointDummy's user avatar
1 vote
0 answers
32 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 ...
John John's user avatar
0 votes
1 answer
515 views

Is it possible to deploy MasterPage via module?

So, is it possible? Tryied a lot of combinations (using google) in my farm-solution. Can't get it to work. What i did: <Module Name="MasterPages" Path="MasterPages"> <File Path="...
Ryan's user avatar
  • 113
1 vote
1 answer
516 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 ...
Jennifer Bartolome's user avatar
0 votes
1 answer
125 views

Is it possible to add a condition class to the master page?

I want to add the class ms-hideto the body of my master page depending on certain conditions. I'm trying to do something like delegate controls where, based on a feature I add or remove this class ...
Batman's user avatar
  • 1,438
4 votes
1 answer
1k views

Unable to delete SharePoint Online sub-site with SP hosted app installed

When i try to delete a site(Site Settings -> Delete the Site) with SP hosted app installed in the respective site, we are getting the below error There was a problem deleting Web site "". Sites that ...
Srinath.MV's user avatar
0 votes
1 answer
143 views

How to always keep the Quick Launch link which referecne the site Home Page in BOLD

I am working on sharepoint 2013 on-premise. Now currently i have the following behavioure inside the Quick Launch links :- When i first visit a root site or a sub-site, the Quick Launch link which ...
John John's user avatar
0 votes
1 answer
445 views

Creating new Master Page with UI version 16 inside my Sharepoint server 2016 , does not have any effect

I am starting a new sharepoint server 2016 on-premise project, and i install February 2017 CU. now i have noted that new site collections still comes with the old seatle.master & osolo.master ...
John John's user avatar
0 votes
1 answer
2k views

How to check the css file is loaded on not in the current page using javascript?

I need to check the preticular css file is loaded or not in the current page using javascript. Suggest any idea to find this using javascript.
PGP's user avatar
  • 1,105
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
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
0 votes
1 answer
601 views

Positioning the search box in Oslo master page

I'm using a copy of the Oslo master page with some custom css for branding. Now I'm trying to move the search box towards the center of the page, positioning it directly after the top navigation bar. ...
arvnik's user avatar
  • 1
2 votes
1 answer
1k 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 ...
SharePoint Lady's user avatar
2 votes
3 answers
383 views

Using JavaScript to force all my site collections' logos to reference the root site collection is only working on IE

I am working on a SharePoint Server 2013 and I have 4 site collections. I want to always redirect users to the root site collection if they click on the sites logo from the 4 site collections, so I ...
John John's user avatar
2 votes
0 answers
339 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?
Arsalan Adam Khatri's user avatar

1 2
3
4 5
20