Tag Info

New answers tagged

0

You can use this code from JS in your app.      var context = SP.ClientContext.get_current();      var web = context.get_web();      web.set_alternateCssUrl('filepath.css');      web.update();      context.executeQueryAsync(successFunction, ...


0

This might not be a standard/recommended practice, but might work in your case.Try giving the link to the css file directly using the <link> tag rather than the <SharePoint:CssRegistration> tag


0

Try this <SharePoint:CssRegistration Name="<% $SPUrl:~sitecollection/Style Library/~language/Themable/Core Styles/tokyo.css %>" runat="server" EnableCssTheming="true" /> <SharePoint:CssRegistration Name="/SitePages/css/custom.css" runat="server" After="/Themable/Core Styles/tokyo.css" />


0

SharePoint is a web application and it recognized CSS style. Hence the complied sass files can be used in SharePoint. If you use Visual Studio then you can install the Compass extension to automate the process. Else you need to compile the file using command and replace it in SharePoint using Designer or Browser.


0

Yes. You should use the same master page everywhere which will make SharePoint look the same wherever you go. The user experience will be greatly enhanced. If you have a custom master page you should use it on the search centers/search result page as well. If you just want change the design of the search result and not alter the content of the search result ...


1

You can create a new display template.The display template defines what we want our results to look like. To check all available search display template go to Site settings --> Master pages and page layouts. In the Master Page Gallery, click Display Templates --> Search. Check these examples for more granular steps. ...


0

I can confirm as per my comment that /_styles/corev4.css is auto-generated by SharePoint Designer when you edit and attempts to save corev4.css. To replicate: Create a new site collection Open it in SharePoint Designer Open v4.master (Don't check out) Click 'Styles' in the ribbon and then 'Manage Styles'. You'll see the style pane open in the right hand ...



Top 50 recent answers are included