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.
953
questions
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
...
0
votes
1
answer
112
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 ...
3
votes
3
answers
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 ...
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 ...
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?
1
vote
1
answer
307
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 ...
0
votes
1
answer
352
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 ...
0
votes
0
answers
181
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 ...
2
votes
2
answers
860
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:...
0
votes
1
answer
195
views
Using Repeater in html page Sharepoint 2016
<!--SPM:<asp:Repeater runat="server" ID="rptrNavigation" DataSourceID="customSiteMap">-->
<!--SPM:<HeaderTemplate>-->
<!-...
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 ...
1
vote
2
answers
1k
views
How to hide span on edit mode and display in display mode
<PublishingWebControls:EditModePanel runat="server" PageDisplayMode="Display" SupressTag="True" CssClass="edit-mode-panel title-edit">
<span class="customerLabel"&...
0
votes
1
answer
525
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="...
1
vote
1
answer
527
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
2
answers
649
views
How to Remove Apps & Tasks from My Profile In Sharepoint 2013
How to remove Apps & Tasks from My Profile In SharePoint 2013 which is on left hand navigation shown in the image. also I want to add search center Enterprise page link in the same left hand ...
0
votes
1
answer
187
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 ...
8
votes
2
answers
270
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 ...
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 ...
0
votes
1
answer
452
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 ...
1
vote
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.
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 ...
1
vote
2
answers
4k
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.
...
0
votes
1
answer
610
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. ...
2
votes
3
answers
10k
views
How do I add the top link navigaton bar to the Enterprise Search Center?
The Enterprise Search Center appears to use the minimal master page, and has no top link navigation. This seems a bit silly and is hard to use if you use the Search Center as a subsite in a larger ...
2
votes
3
answers
392
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 ...
2
votes
0
answers
349
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?
1
vote
2
answers
148
views
Is it good approach to modify a master page CSS?
I have become really good at modifying Oslo or Seattle CSS and clients love the final product but now that I'm learning more about the Rest API and SharePoint Add-ins I wonder if it is a good approach....
1
vote
0
answers
46
views
How to display the name of the page in the title bar?
I'm a sharepoint noob so please forgive my ignorance. Basically I wanna do this:
i.e. show the name of the page selected in the drop down menu "Empowering our people" in this case on the title bar. ...
0
votes
1
answer
288
views
Users cannot see content that I have posted to sharepoint page
I have set up a series of sharepoint team pages for our companies intranet, i have also set one of the pages as the home page. All the others are a subsite to this home page. I have customized the ...
1
vote
1
answer
610
views
C#: Check if a site and web feature is enabled?
I have created a custom MasterPage and added a feature event receiver to deploy it to my farm to be able to enable it using PowerShell.
I have followed this excellent blog post on how to create the ...
1
vote
1
answer
463
views
Referencing JS, CSS files from other site collections in masterpage
We usually reference js files using tokens ~site and ~sitecollection and putting below into the masterpage:
<SharePoint:ScriptLink language="javascript" name="~sitecollection/files/abc.js" runat="...
1
vote
1
answer
223
views
Fly-out Menu Master Page Edit
This action I perform all the time using content editor in SharePoint 2013 version. This time I want to make the change to the master page. I want the changed to seen on every page.
What am I ...
1
vote
0
answers
86
views
SharePoint Menus and JQuery
I use Muse exports for branding for SharePoint 2013, and usually have no problem. However, this time the jquery isn't loading. I've even tried a different menu to make sure it wasn't something with ...
1
vote
1
answer
76
views
Cannot find div container reference in Master Page
We have a custom Master Page with a drop down navigation menu replacing the global navigation.
I have recently added a new subsite and need this to show on the navigation menu.
I have managed to ...
0
votes
1
answer
70
views
Subsite to be manage by only Site Owner
Is it possible to customize the subsite to exclude site collection administrators and system accounts from accessing it?
One thing I have tried to do is to have a check via jsom in the masterpage and ...
1
vote
1
answer
99
views
How to use multiple navigation in sharepoint 2013?
I need to achieve above navigation system in SharePoint 2013, so I choose structural navigation, So I copied and pasted the code snippet in the master page, I achieved the first navigation ...
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 ...
4
votes
3
answers
822
views
Detect if SharePoint is using the system master page
Is there a way to detect if SharePoint is using the system master page? (just like EditModePanel, or detecting the system master page with javascript..)
Right now I'm using the same master page on ...
1
vote
0
answers
171
views
overflow issues with content/webparts
I have an issue with overflow in the s4-workspace container (see picture). Ideally, I'd like the parent div that the content is placed in to stretch EQUALLY with the content. Instead, I get this gap ...
0
votes
2
answers
214
views
Edit a SharePoint master page layout with Sharepoint designer
I recently got the task to do some minor changes to a sharePoint Master Page and I could need some help because I think I am doing it wrong.
I never worked on something like that before so what I am ...
1
vote
1
answer
349
views
What situation we can go with device channel?
I need to make my custom SharePoint site responsive, So Planned to use bootstrap framework for making my web parts and pages responsive. My concern is there has device channel feature in SharePoint ...
1
vote
2
answers
749
views
Boostrap messes up whole design
I have got HTML from designer which only uses two CSS; bootstrap.css and myStyle.css (custom CSS). There is no other CSS or JS file in HTML. The design looks fine when I open it in browser.
But ...
1
vote
1
answer
238
views
How to use master page UI version 16 on publishing site
I created a new publishing site in 2016. Then I went to Design Manager and converted an HTML page to Master Page UI version 16. That new master page is checked in and published.
Now when I go to Site ...
0
votes
1
answer
466
views
Restricted Read Access Problems
Created a page granted visitors "Restricted Read" access. For some reason anyone that only has visitors access is not able to view the page. Is this because "Restricted Read" is selected as the ...
1
vote
0
answers
18
views
Correct way to integrate current navigation
What is the correct way to integrate current navigation in a publishing site?
Make one master page which contain current navigation. Hide current navigation on home page using jquery.
Make two ...
1
vote
2
answers
301
views
Can different SharePoint pages have seperate master pages?
Problem:
I'm trying to assign a different master page for my home page apart from the rest of my site, so I was wondering if this is possible. If so, how do you implement it and what is the process ...
2
votes
0
answers
356
views
Is it possible to convert .master back to .html file?
Is it possible to convert a .master page back to .html?
We want to use it for the preview in a page layout. E.g.:
<mso:HtmlDesignFromMaster msdt:dt="string">https://my-intranet-website/sites/...
0
votes
1
answer
206
views
Sharepoint 2013 Office 365 Master Page Branding Help
I have been tasked with developing my organizations intranet with Sharepoint 2013. I'd like to be able to brand it so it matches the look of our organization but I keep hitting road blocks so I was ...
0
votes
1
answer
478
views
Sharepoint 2013 Help - Adding the "body content" of my Branded Masterpage
I have been tasked with developing my organizations intranet with Sharepoint 2013. I'd like to be able to brand it so it matches the look of our organization but I keep hitting road blocks so I was ...
0
votes
2
answers
232
views
Missing WelcomePage title in the breadcrumb?
I am using SP 2013 on-premises. I implementet the breadcrumb in the masterpage as follow:
<!--MS:<asp:SiteMapPath runat="server" SiteMapProviders="SPSiteMapProvider,SPXmlContentMapProvider" ...