How to Center a Logo With PhpFox

PhpFox is a commercial script that allows Web developers to turn a regular website into a social networking site. By default, phpFox's templates contain a table at the top that aligns your site's logo to the left. If, for aesthetic reasons, you prefer to have a centered logo, change its alignment by editing the HTML code that generates the table.

Instructions

    • 1

      Open Notepad or a dedicated HTML editor, click on "File" and choose "Open." Use the application's file browser to locate the "_template" file inside your main phpFox installation. Find this file in the following folder "design/templates/default/public/."

    • 2

      Locate the following code line near the top of the document and delete it:

      <td style="width:70%;vertical-align:middle;text-align:center;" class="top2">&nbsp;{Ads::ShowAds place=1}</td>

    • 3

      Edit the line that is above the deleted one by replacing "width:30%" with "width:100%."

    • 4

      Save the HTML file by clicking on "File" and selecting "Save."

Related Searches:

Comments

Related Ads

Featured