Linked Questions

22 votes
6 answers
33k views

Sharepoint 2013 add css in a page layout

I'm trying to add my custom CSS file in my sharepoint 2013 page layout. I add it with the link tag or with CSSRegistration and when the page is rendered, the css does not appear in the source. Also I ...
user14444's user avatar
  • 233
4 votes
1 answer
17k views

Where to put javascript files, problem with _layouts

I'd like to add jQuery and SPServices. I added the following code: <SharePoint:ScriptLink runat="server" Name="/Style%20Library/Scripts/jquery-1.7.2.min.js" Localizable="false"></SharePoint:...
Brandon's user avatar
  • 467
5 votes
3 answers
3k views

Placing your branding images in the "14 hive" vs an Images list

What are the drawbacks or benefits of storing images in the hive versus a list within the farm? I have a debate with my colleague that deals with where to place images that must be accessible across ...
2 votes
3 answers
5k views

The advised place to put images and css files

I've been looking on the net for some advise and explanation about where to put my custom css and images for the master page in sharepoint 2010. I'm now busy with branding the portal and i'm a bit ...
Shkipper's user avatar
  • 2,105
2 votes
3 answers
7k views

Master Page how to specify correct Path for CSS and Images

1) In My custom master page I have registered my CSS as follows, <SharePoint:CssRegistration name="/mycssfolder/css/mycss.css" After="corev4.css" runat="server"/> Now I have my folder ...
Jithu's user avatar
  • 1,031
2 votes
4 answers
7k views

Referring js file within a master page/ html page did not work

after going through the this link How to implement JavaScript in master page of SharePoint 2013 and JavaScript files are not loading in masterpage for adding a reference for js file , thats residing ...
dasarp's user avatar
  • 374
1 vote
3 answers
10k views

What is the correct way to reference javascript in Sharepoint 2013?

I have found conflicting sources on linking/referencing JavaScript to a SharePoint .HTML Masterpage in SP2013. Out of the box, SP2013 instructions from Design Manager interface are to Use this ...
Mia's user avatar
  • 163
3 votes
2 answers
1k views

Site Collection Pop Quiz: _layouts vs Style Library

First, let's say I have 2 site collections within a single web app at port 80: Main Site Collection: / Nested Site Collection: /sites/special/ So, let's say I have a module in a site-collection ...
bkwdesign's user avatar
  • 526
2 votes
2 answers
1k views

custom master page / branding from _layouts instead of provisioning feature

Is it possible to apply a custom master page and theme to a site from the layouts folder instead of provisioning them down to the site with a feature? I'd use code and a feature receiver, but not sure ...
user22059's user avatar
1 vote
2 answers
3k views

Subsite in Sharepoint Foundation 2010 - Applying CSS

I am just getting started with SharePoint Designer 2010/Foundation 2010 and having trouble applying a CSS file. On the home site, I am using a custom master page that uses this code to load a ...
James Mason's user avatar
2 votes
4 answers
2k views

Best practice location to deploy CSS/JS/image files

For SharePoint development, I am used to placing all the images/CSS/JS files into the mapped layouts folder (..\Microsoft Shared\Web Server Extensions\15\TEMPLATE\LAYOUTS) using Visual Studio. ...
Joe's user avatar
  • 483
0 votes
1 answer
533 views

Cleanest way to put something in _layouts folder?

What is the cleanest and suggested way to add files to the _layouts folder across multiple web frontends for a SharePoint 2016 on-premise installation?
kekub's user avatar
  • 187
2 votes
1 answer
259 views

List out the ways in which we can deploy the files to the SharePoint [closed]

What are the possible ways in which we can deploys files to:- The SharePoint hive (folders in hive) The SharePoint content db (libraries, etc) By files I mean css, js, masterpage, site page, html ...
variable's user avatar
  • 4,457