Table of Contents

Previous

Next


Modifying the Appearance of the Company Information

You can modify the appearance of the company information by creating an override for the Page.asp file. This file controls the content coding for each page of your content. When you modify this file, you need to change the appropriate part of the file based on whether you want to modify the appearance of the company information at the top of the page or at the bottom of the page. You can also modify many other aspects of your content pages. For more information, see “Customizing the Content Page Design” on page 182.

To modify the appearance of the company information

  1. Create an override file for the Page.asp file by copying it from the installation folder to your format or target override folder in your project, based on whether you want to modify the appearance of the company information for an output format or for a specific target. For more information, see “Creating Project Format Overrides” on page 332 and “Creating Project Target Overrides” on page 334.

  2. Open the Page.asp file you copied to the Formats\formatname\Pages or Targets\targetname\Pages folder in your project.

  3. Locate the code at the top or bottom of the Page.asp file, based on whether you want to change the appearance of the information at the top or the bottom of the page.

  4. To modify the top of the page, find the following line of code:

<table wwpage:condition="company-info-top" align="left" wwpage:attribute-align="company-info-top-alignment">

<table wwpage:condition="company-info-bottom" align="right" wwpage:attribute-align="company-info-bottom-alignment">

  1. If you want to modify the appearance of the company name, find the following code immediately after the line of code you found at the top or bottom of the file and modify the td tag to change the font size or weight. You can add other format options, such as adding a font-family.

<tr wwpage:condition="company-name-exists">

<td style="text-align: left; font-size: 16px; font-weight:bold">

  1. If you want to modify the appearance of the company phone number, find the following code immediately after the line of code you found at the top or bottom of the file and modify the td tag to change the font size. You can add other format options, such as adding a font-family.

<tr wwpage:condition="company-phone-exists">

<td style="text-align: left; font-size: 12px" wwpage:content="company-phone">

  1. If you want to modify the appearance of the company fax number, find the following code immediately after the line of code you found at the top or bottom of the file and modify the td tag to change the font size. You can add other format options, such as adding a font-family.

<tr wwpage:condition="company-fax-exists">

<td style="text-align: left; font-size: 12px" wwpage:content="company-fax">

  1. If you want to modify the appearance of the company email address, find the following code immediately after the line of code you found at the top or bottom of the file and modify the td tag to change the font size. You can add other format options, such as adding a font-family.

<tr wwpage:condition="company-email-exists">

<td style="text-align: left; font-size: 12px">

ePublisher/2008.4/Help/02.Designing_Templates_and_Stationery/03.077.Designing_Stationery (last edited 2009-04-28 22:34:01 by TonyMcDow)