Friday, February 26, 2010

SharePoint: The site theme is not applied to my custom page

If you created and/or customized pages in a SharePoint 2007 site, and when changing the site theme this change does not appears on the customized pages, one possible cause is the absence of the ASP.NET server tag that includes site themes on the page. Try placing the following markup on the <head> session of the page:

<SharePoint:Theme runat="server">

This server control writes the <link> tag that includes the selected theme CSS styles on the generated HTML.

No comments:

Post a Comment