Share via


Customize the Footer

Each Web site associated with a Microsoft Office Live Small Business account includes a footer by default. To learn more about customizing this footer, see Change the footer content and links. You can also choose to turn off the footer for any page on your site. For more information about turning off the footer, see Remove the Footer from a Web Page. If you want to provide a footer, but need more flexibility than the default footer allows, you can turn off the footer and add a Custom footer module to one of the zones in the page. To add a Custom footer module, the Advanced Design features included with your Microsoft Office Live Small Business account must be activated. You can add content to the Custom footer module using the contents of your own XSLT file, or you can edit the default XSLT code that comes with the Custom footer module.

To activate the Advanced Design features, see Activate and Deactivate Advanced Design Features.

  1. On the left navigation bar, click Web Site.

  2. In Page Manager, on the actions bar, click Design Site, and then, in the drop-down list, click Design site.

  3. Click the Page Editor tab.

  4. On the actions bar, click Module, and then click Custom Footer.

Use your own XSLT

You can create a custom footer for your Office Live Small Business account with the contents of your own XSLT file. To do this, you must first add your XSLT file to the Document Gallery. For step-by-step instructions, see Add an XSLT File to the Document Gallery.

  1. Open the Custom Footer module following the instructions above.

  2. In Custom Footer, click Link to an XSLT file.

  3. Click Select file.

  4. In Select a file, click the XSLT file that contains the custom footer content. Click OK.

  5. Click OK.

You can create the XSLT for the custom footer by editing the XSLT code that supports the Web site footer included with your Office Live Small Business account.

  1. Open the Custom Footer module following the instructions above.

  2. In Custom Footer, click Edit XSLT code.

  3. Edit the code as required.

  4. Click OK.

Example

The code below is XSLT that supports an example of a footer that can appear on all public Web pages created for an Office Live Small Business account.

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">

  <xsl:output method="html" />

  <xsl:template match="/FooterLinks">
    <xsl:for-each select="Link">
      <xsl:if test="position() &gt; 1 ">
        <span>|</span>
      </xsl:if>
      <b>
        <a>
          <xsl:attribute name="href">
            <xsl:value-of select="Href"/>
          </xsl:attribute>
          <xsl:value-of select="Name"/>
        </a>
      </b>
    </xsl:for-each>
  </xsl:template>

See also

Add an XSLT File to the Document Gallery
Remove the Footer from a Web Page
Activate and Deactivate Advanced Design Features