Microsoft KB Archive/206011

= FP2000: How to Alter the Theme Used by Web Templates =

Article ID: 206011

Article Last Modified on 10/1/2001

-

APPLIES TO


 * Microsoft FrontPage 2000 Standard Edition

-



This article was previously published under Q206011



For a Microsoft FrontPage 98 version of this article, see 180821.



SUMMARY
This article describes how you can change the theme applied to your new FrontPage Webs.



MORE INFORMATION
WARNING: If you delete or alter built-in Web templates, you may need to reinstall FrontPage to restore the templates.

To change the theme that will be applied to a new FrontPage web, you must edit the Web template INF file. The INF file contains information about the Web, including the default theme that will be applied to the Web.

Each Web template is located in its own subfolder. By default the folder is located in the C:\Program Files\Microsoft Office\Templates\1033\Webs\ folder. For example, the Personal Web template has a corresponding Personal.inf file. This file is stored in the following hard disk location:

C:\Program Files\Microsoft Office\Templates\1033\Webs\Personal.tem

The following table lists the Web templates that ship with FrontPage and the folders and file names of the INF files:

Each theme has a theme definition. For example, the theme definition for the Expedition theme is Expedition. The theme definition is defined in the theme's INF file. By default, the INF file is located in the following hard disk location:

C:\Program Files\Microsoft Office\Templates\1033\css\ where  corresponds to the theme definition. The following table lists the themes and theme definitions:

Each INF file contains an entry similar to the following: theme=global 101 where global is the theme definition and the number that follows identifies which options are used by the theme. Each digit in the number identifies one of or more of the following three options:

You can combine these options. For example, if you want to include all three options (vivid colors, active graphics, and background image), you would specify a number of 111. If you want your theme to contain vivid colors and active graphics, you would specify a number of 110.

Also, you can automatically have the theme applied using Cascading Style Sheets (CSS). To do this, add an additional 1 to the beginning of the number. For example, if you wanted to apply Active Graphics to the ChalkBoard Theme, you would normally type 010 as the number. However, if you wanted to use Cascading Style Sheets (CSS), you would type 1010 as the number.

If you do not want to apply a theme, you can set the value to none, such as the following example: theme=none After you make your changes to the INF file, save the file. The next time you create a new FrontPage Web, the theme you specified will be applied to your Web.

NOTE: You cannot apply a default theme to the Import Web Wizard. In contrast, other Web wizards allow you to select a theme after you start the wizard.

