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.
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 Format and Target Overrides.
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.
*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">
*To modify the bottom of the page, find the following line of code:
<table wwpage:condition="company-info-bottom" align="right" wwpage:attribute-align="company-info-bottom-alignment">
4. If you want to modify the appearance of the company name, create an override for webworks.css from the Formats\[your format]\Pages\css installation directory. Then, find td.WebWorks_Company_Name_Top in Pages\css\webworks.css, and modify the CSS attributes, such as the font-size or font-family, and required.
5. 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:
<tr wwpage:condition="company-phone-exists">
<td class="WebWorks_Company_Phone_Bottom">
or <td class="WebWorks_Company_Phone_Top">
Look for td.WebWorks_Company_Phone_Bottom or td.WebWorks_Company_Phone_Top in Pages\css\webworks.css and change the font-size or font-family
6. 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:
<tr wwpage:condition="company-fax-exists">
<td class="WebWorks_Company_Fax_Bottom">
or <td class="WebWorks_Company_Fax_Top">
Look for td.WebWorks_Company_Fax_Bottom or td.WebWorks_Company_Fax_Top in Pages\css\webworks.css and change the font-size or font-family
7. 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:
<tr wwpage:condition="company-email-exists">
<td class="WebWorks_Company_Email_Bottom">
or <td class="WebWorks_Company_Email_Top">
Look for td.WebWorks_Company_Email_Bottom or td.WebWorks_Company_Email_Top in Pages\css\webworks.css and change the font-size or font-family
Was this helpful?
Last modified date: 12/09/2021