FP98: How to Alter the Theme Used by Web Templates

ID: Q180821


The information in this article applies to:


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 FrontPage\Webs folder. For example, the Personal Web template has a corresponding Personal.inf file. This file is stored in the C:\Program Files\Microsoft FrontPage\Webs\Personal.tem folder. The following table lists the Web templates that ship with FrontPage and the folders and file names of the INF files:


   Web Template Name             Folder           Inf File
   -------------------------------------------------------
   One Page Web                  Normal.tem       Normal.inf
   Customer Support Web          Custsupp.tem     Custsupp.inf
   Empty Web                     Empty.tem        Empty.inf
   Personal Web                  Personal.tem     Personal.inf
   Project Web                   Project.tem      Project.inf 
Each theme has a theme definition. For example, the theme definition for the Expedition theme is Expeditn. The theme definition is defined in the theme's INF file. By default, the INF file is located in C:\Program Files\Microsoft FrontPage\Themes\<Theme Name> folder, where <Theme Name> corresponds to the theme definition. The following table lists the themes and theme definitions:

   Theme Name                 Theme Definition
   -------------------------------------------
   Arcs                       arcs
   Artsy                      artsy
   Automotive                 auto
   Barcode                    barcode
   Bars                       bars
   Blends                     blends
   Blocks                     blocks
   Blueprint                  blueprnt
   Bubbles                    bubbles
   Cactus                     cactus
   Capsules                   capsules
   Checkers                   checkers
   Citrus Punch               citrus
   Clear Day                  clearday
   Construction Zone          construc
   Downtown                   downtown
   Expedition                 expeditn
   Fiesta                     fiesta
   Geared Up Factory          factory
   Global Marketing           global
   Highway                    hiway
   In Motion                  inmotion
   Industrial                 indust
   Kids                       kids
   LaVerne                    lavern
   Leaves                     leaves
   Modern Contrast            mdcont
   Modern Shapes              mdnshape
   Nature                     nature
   Neon                       neon
   Network Blitz              blitz
   Poetic                     poetic
   Polar                      polar
   PostModern                 pstmdrn
   Romanesque                 rmnsque
   Safari                     safari
   Saturday TV Toons          tvtoons
   Spiral                     spiral
   Spokes                     spokes
   Straight Edge              stredge
   Street Writing             start
   Subterranean               subterra
   Sumi Painting              sumipntg
   Sunflower                  sunflowr
   Sweets                     sweets
   Technology                 technolo
   Tidepool                   tidepool
   Tilt                       tilt
   Topo                       topo
   Travel                     travel
   Value Added                valueadd
   Waves                      waves
   World Finance              wrldfnc
   Zero                       zero 
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 a combination of the following three options:

   100    Vivid Colors. Use this option to apply brighter colors to text
          and graphics.

   010    Active Graphics. Use this option to animate theme components.

   001    Background Image. Use this option to apply a textured
          background. 
Thus, 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.

If you do not want to apply a theme, you can set the value to "none" like this:

   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.


REFERENCES

For more information about themes, click the Index tab in FrontPage Help, type the following text


   Themes, overview 
and then double-click the selected text to go to the "About Themes" topic.

For more information about designing your own themes, please see the following article in the Microsoft Knowledge Base:
Q175059 FP98: How to Design Your Own Themes

Additional query words: 98 themes


Keywords          : kbdta fpedit fpactive fptheme fpext 
Version           : WINDOWS:98
Platform          : WINDOWS 
Issue type        : kbinfo 

Last Reviewed: July 27, 1999