O'Reilly logo

Microsoft® SharePoint® Designer 2010 Unleashed by Kathy Hughes

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Overriding Themable Style Sheets in a Master Page

In cases where you create a custom CSS file and attach that CSS file to your custom master page in SharePoint 2010, you might not want a site’s theme to override the colors and fonts already determined by the custom CSS file. Therefore, you need to effectively untheme your custom master page to avoid that from happening. One way to do this is to do this is to override the themable CSS file by pointing the <SharePoint:CssRegistration> control or style link in your master page to a non-themable CSS location and ensure that the link to the non-themable location is read after corev4.css or any other themable CSS files in order to overwrite themable CSS classes. By pointing to a different CSS location ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required