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


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

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();


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

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

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

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

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

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


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

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.


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

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

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

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


2

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


2

Thanks to the other answers I have solved the problem. The default css file is automatically linked when using the App, but using Keith Tuomi's code to define the css file is a good idea to ensure linkage. I went through the css file and found the appropriate class called ms-ContentAccent1-bgColor which gives the color. I am going to test if this works ...


2

Yup, If you are familiar with Powershell you can use this script to force subsites to use custom master page, $site = Get-SPSite http://fba.contosotest.com/dv1 $site | Get-SPWeb -limit all | ForEach-Object { $_.MasterUrl = "/dv1/_catalogs/masterpage/custom_v4.master";$_.Update() } $site.Dispose() Otherwise you can use publishing feature, as stated in ...


2

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


1

Is it a true feature that manages it all? Are there additional updates you may need to make to enable it? (i.e. copyappbincontent) WFEs should automatically process and keep themselves updated against features. I think the timer service should be running on each WFE to ensure they're up to date. Have you tried deactivating and reactivating the feature?


1

I think you'd be able to get any fine-grained customisation re: fonts by setting up an override CSS file. As a collection admin, under Site Settings -> Master Page you can specify an alternate CSS URL (I uploaded a .css file to the site assets folder and linked to that). You can then specify your overriding CSS rules (including font changes) in this file ...


1

You can change the default header and body fonts in Site Settings > Site Theme (under the Look and Feel section) from the Site Actions menu. Someone else might have an alternative approach if you want to do something more finely-grained.


1

There is a vast quantity of web designs out there, but they are not designed for SharePoint. However, what you can do is render a page in SharePoint that will support some of these themes. So for example if you render HTML that looks like the CSS Garden HTML template you have a starting point to use their themes. But it's not going to be easy. Begin with a ...


1

It's worth noting that ~masterurl/default.master is a single, complete token - it is not two separate tokens, and you can't just use ~masterurl without the rest of the token. The entire token refers to the value stored in the MasterUrl property of the web - if you want to reference minimal.master across your site, you can update that property by Modifying ...



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