Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Center the logo


tabarnew

Recommended Posts

Posted

edit file catalog / includes / header.php

look for

 <td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'store_logo.png', STORE_NAME) . '</a>'; ?></td>

change to

 <td valign="middle" align="center"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'store_logo.png', STORE_NAME) . '</a>'; ?></td>

 

Nic

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Posted

Be aware that the header is divided up by a table. Centering it will only center it in the current <td> container. You may have to move the image into a different <td> container, or add a <td> in the header as I had to do.

Community Bootstrap Edition, Edge

 

Avoid the most asked question. See How to Secure My Site and How do I...?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...