locked
Using a custom style sheet in a specific page RRS feed

  • Question

  • I'm a new user of SharePoint 2007, and I don't have time to learn it from the beginning before this problem has to be solved. I hope someone can point me in the right direction.

    I've got a page which contains some fixed text and some placeholders. A user is supposed to make a copy of the page in  the part of the site that they are responsible for and fill in the placeholders.

    The problem is that the page requires some custom styles, and I'm not sure how to incorporate them so that (1) each copy of the page refers to a single instance of the styles, rather than having its own inline copy, and (2) only pages that use the styles will load them.

    I originally posted this question in one of the SharePoint 2010 forums because I'd been told (wrongly) that our shop was running SharePoint 2010. Over there I was pursuing the strategy of storing a style sheet in the Style Library, adding a content editor web part to the page, and using the web part to load the style sheet. I don't know whether those concepts exist in SharePoint 2007; if they do, the UI is different enough that I don't see how to apply them.

    Can someone help me figure out how to proceed?
    Friday, July 19, 2013 4:26 PM

All replies

  • These concepts do indeed exist within SharePoint 2007.  You'll need to have the Publishing features activate for the Style Library to appear but the instructions should still be valid.  The biggest difference in getting to the style library via the "View all Site Content" link is that

    • in SharePoint 2007 the Site Actions drop down is on the top right
    • In SharePoint 2010 its on the top left

    When it comes to using the Content Editor Web Part

    1. SharePoint 2007 has a Source Code Button on the Web Part Settings
    2. SharePoint 2010 has an "Edit HTML" function on the ribbon

    Hope that helps but please let us know if not.

    Wednesday, July 31, 2013 10:56 PM
    Answerer