Alternate CSS URL: Overriding a Site’s CSS

Earlier in this chapter, you learned how to use the CEWP and HTML Form Web part to modify CSS on a page-by-page basis. Imagine, instead, that you needed to modify the CSS for the entire site, or all pages within the current site. For instance, rather than just hiding the left-hand menu on a few pages, you need to hide the left-hand menu on all pages. Using the Alternate CSS URL option included on the Site Master Page Settings page and shown in Figure 6.64, you could create a separate CSS file and then reference that file to affect all pages within the site. In fact, the major benefit of using the Alternate CSS URL setting is that you can override any of the existing CSS files associated with the site, ...

Get Microsoft® SharePoint® Designer 2010 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.