Hot answers tagged

10

It is strongly advised against modifying the corev4.css file. This main reasons being that as soon as you apply the next update, your css customisations will be lost as the file will be overwritten, and your changes affect the entire farm. It's recommended that you create a new CSS file, store it either in a folder in LAYOUTS in the SharePointRoot folder ...


7

I hope OP meant following thing from site settings. To check whether this option is checked or not, we need to make a REST call to the following end-point /_api/Web/AllProperties It will return all properties under the web. Now find the property named OData__x005f__x005f_InheritsThemedCssFolderUrl. If it's value is "True", then the theme is being ...


6

You can create a theme very easily by using Microsoft Theme Builder. But to do a complete look and feel you are going to have to look at time vs effort vs effectiveness. Branding SP 2010 is very feasible. If your site is a company Intranet, try using a custom theme and then adding a picture banner, this is minimal work and can make a site look very nice. ...


6

First you need to understand themes in 2013. Start here for the basics Then here to grasp how to make a custom one Then you need to understand where and how they are set from this, then you can alter it., something like this: ThmxTheme oTheme = ThmxTheme.Open(siteCollection,"_catalogs/theme/themename.thmx"); oTheme.ApplyTo(oWeb, false); oWeb.Update();


5

I achieved this goal by adding the following to my App.js: //Build absolute path to the layouts root with the spHostUrl var layoutsRoot = strHostUrl + '/_layouts/15/'; //Create a Link element for the defaultcss.ashx resource var linkElement = document.createElement('link'); linkElement.setAttribute('rel', 'stylesheet'); linkElement.setAttribute('href', ...


5

You could have a feature which programmatically applies your custom theme, and staple this feature to the site definition at the site collection level. This means that every subsite that's created from the site definition within your site collection will automatically activate the feature and run your code to apply the theme. Some links to help: ...


5

There are two possibilities to get the ThemedImageUrl of the spcommon.png File. You can use C# Code and the Method GetThemedImageUrl() which was allready mentioned. But SharePoint 2013 also provides a new Control called ThemedForegroundImage. Take a look how to use it: <SharePoint:ThemedForegroundImage ThemeKey="spcommon" ...


4

Heather Solomon's site should be your first port of call, has everything you need to know about customising the look and feel of SharePoint. http://www.heathersolomon.com/blog/ EDIT: this is mostly 2007, but most of the principles are the same for 2010.


4

In SharePoint 2013, a Composed Look is the combination of following:: Master Pages CSS Color palettes Font palettes Background image Hence can easily be set via PowerShell $themeName = "Sea Monster" $SPSite = Get-SPSite "http://sp2013/" foreach ($SPWeb in $SPSite.AllWebs) { $SPWeb.allowunsafeupdates = $true $fontSchemeUrl = ...


4

I haven't worked in a lot of anon environments, and it was always my belief that themes were only available once authenticated. If you needed to style something to anon users, you'd need to use a custom master page and/or a custom CSS sheet. When I started to brand http://pirateeric.sharepointspace.com, themes didn't show up when I wasn't logged in so I ...


3

I guess someone changed the color of the webpart in your stylesheet (or in a custom stylesheet) Or added style blocks in the masterpage, pagelayout, pages,... If you use IE, press F12 to show the developer toolbar. When you select the arrow-button on the toolbar, you can click on the webpart and the toolbar will then show you what style's it contains. It's ...


3

It is completely possible to do on top of SharePoint Foundation - it supports all the normal themes and master pages and so one. It has it's limitations, being free that shouldn't be a surprise, for example if you going to have multiple sites and want to share common master pages it is a pain, where this is simplified in Standard and above. If you going for ...


3

Well, it will depend on a couple details. If you're wanting to remove the permissions for all your users, you can do the following, via Central Administration. Visit Central Administration > Application Management > Web Applications > Manage Web Applications. Select the Web Application that you want to restrict the themes on. Click on “Permission Policy ...


3

You can change the content of that zone through PowerShell, it's managed by the SuiteBarBrandingElementHtml property on the WebApplication object : $app = Get-SPWebApplication -Identity "your-web-application-url" $app.SuiteBarBrandingElementHtml = "<div class='ms-core-brandingText'>Your Company Name</div>" $app.Update()


3

http://msdn.microsoft.com/en-us/library/office/ms431037.aspx Check the documentation your version of $SPWeb.ApplyTheme no longer works for SharePoint 2013 This is what I've got to work so far: $web=Get-SPWeb http://intranet.contoso.com $file=$web.GetFile($web.ServerRelativeUrl + "/_catalogs/theme/15/palette005.spcolor") ...


3

There are third party tools, like Axceler ControlPoint that give this type of functionality. Their methodology is to use event receivers to detect these types of changes and to block them. Being in an O365 environment, I'm not certain if you'd have the ability to create an event receiver or not (haven't used the cloud version ever).


3

You can change the "Look and Feel" for My Site using the URL: http://siteurl/mysitecollectionurl/_layouts/15/designgallery.aspx Its the same URL as defined in "Change the look" section of Site Settings.


3

In most cases, IsDlg=1 parameter should help you to display the page without chrome. This works for both application pages and site pages, and doesn't need any coding. So, if you navigate to /path/to/your/page/ConvertStatus.aspx?IsDlg=1 , you will get it without any chrome.


3

Couldn't find a site which hosts only SharePoint 2010 themes. Two good themese are here http://www.topsharepoint.com/themes


3

I think the theme gallery is one of the default libaries created from SPRequest/COM (I can't see it in the hive) So you could use the same trick that site provisioning uses, wait looping until certain lists are available. #create site collection $filename = "c:\blah.thmx" $bytes = [System.IO.File]::ReadAllBytes($filename); $name = ...


3

Update 2 Just using <script type="text/javascript"> document.getElementById('lblSomething').innerHTML = "Here is REALLY something!"; </script> without error handling will most likely cause runtime issues because if the code runs before the label is rendered it will throw a global JS exception causing the issues I already mentioned. So, ...


3

Yes, you can deploy custom themes on a sub-site level. Add your custom theme at a site collection level where the sub site exists from Site Settings > under Web Designer Galleries, select Themes. Click on the folder 15 and upload your Theme here. From here SharePoint takes over and creates a new set of icons based on your colors and make it available from ...


2

Start from the following article Branding Default Login Page for Form Based Authentication in SharePoint 2013 Find default FBA login page in C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\IDENTITYMODEL\FORMS instead of C:\Program Files\Common Files\Microsoft Shared\Web Server ...


2

Microsoft had solve this well known bug with the November 2014 CU.It's included in the Foundation Update of the November 2014 CU KB2899508. Please try updating the farm with the SharePoint Foundation Update of the November 2014 CU (KB2899508)


2

By my understanding, you aren't getting any SharePoint specific styling for you custom areas because those areas probably have custom id/classes that aren't compatible with the selectors defined by "SharePoint OOB themes" (I am assuming we are talking of .spcolor/.spfont files). If that is the case, you don't have much choice: you will have to make your ...


2

Your best option is to build a Feature Stapling which sets the styling for My Sites. I'd recommend using this tutorial to achieve the results you've required. Feature Stapling is quite widely used, thus you'll have a great chance to find already available solutions to match your requirements.


2

Reference it from a sitecollection stylesheet instead. That way, it will be relative to where the css lives in each site collection. Or you can place it at a top level css (if each site collection inherits it) and all sites will load your custom font. Check out my answer on this post which may help. Add Laos Font to SharePoint 2013 or New font to ...


2

You get this error because of the cross site scripting protection. To work around it you have to use sharepoints own library for cross-site access, namely "SP.RequestExecutor.js". Also make sure your app has tenant scope permissions. var scriptbase = $scope.hostweburl + "/_layouts/15/"; $.getScript(scriptbase + "SP.RequestExecutor.js", function(){ var ...


2

Not free. http://tuning.bind.pt/Sharepoint-Themes.aspx


2

The minimal.master in SharePoint 2010 is intended for a particular page (search pages I think). It is a slightly unfortunate name because we used to use that to describe master pages with minimal branding and chrome intended for normal pages. The term is now "Starter Master Page" and there are a few around for you to use. The error is probably due to a ...



Only top voted, non community-wiki answers of a minimum length are eligible