Tag Info

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 ...


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

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.


3

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


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

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

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

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

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

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

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', ...


3

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 = ...


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

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, ...


2

Theme files (.thmx) for SharePoint only allow you to do so much - edit the fonts and basic colours of major elements like titles, headings, borders etc. If you want to go further (e.g. change the background colour of the ribbon), you have to get a bit more advanced, using SharePoint Designer 2010. One way to proceed is this: once you have applied your ...


2

Here's how to do it: Create a Module SPI Set Url for the element to _catalogs/theme, List to 123 and RootWebOnly=true Add the thmx file to the Module SPI and set the Type attribute on the element to GhostableInLibrary Add it to a Site Collection scoped feature Voila!


2

The "default" theme is actually no theme at all - just the ordinary styles. I don't quite know what you were describing regarding the TemplateID. To change the theme in My Sites in 2007, the standard way would be to use a Feature Receiver, and that C# would change your My Site. To activate that feature, you'd use a technique called 'Feature Stapling', so ...


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 ...


2

Check out Randy Drisgill's book; that's another great resource. http://blog.drisgill.com/


2

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


2

Are you sure this isnt just a client side cache problem? Changing the CSS files in a theme will require a CTRL+F5 in your browser if it already has loaded the theme CSS files in its cache.


2

Firstly not sure how you did this in SharePoint Designer, not being a SPD person myself, when I tried it just opened a link to the Themes editing page in the browser on the site. But presuming there is a way, it most likely saved your theme into the Theme Gallery, this is in Site Settings under the Galleries Section. Having checked that Gallery section and ...


2

When you join a new WFE to the farm, all existing features that are deployed should be automatically deployed to the new WFE as part of SharePoint's process. Go in to "Manage Farm Solutions" and click on one of your feature WSP's to see if there's an event in the history showing that the feature was deployed to the new WFE. It sounds like you may have ...


2

There are many ways of achieving this. It can be done by creating custom masterpages, custom CSS files etc. etc. etc. It all depends on which part of the SharePoint 2013 you want to change.


2

As far as I can tell there is no such state as no composed look (or theme) in SharePoint 2013. To reset a composed look back to normal, choose the Office composed look and leave all the settings set to the default. This is the out of the box look and feel. -Randy Drisgill MVP SharePoint Server blog.drisgill.com - @drisgill



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